diff --git a/build.gradle b/build.gradle index 48e8a41..bc22ccb 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,7 @@ buildscript { mavenLocal() } dependencies { + classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.0.RELEASE") } } @@ -12,9 +13,12 @@ apply plugin: 'java' apply plugin: 'war' apply plugin: 'idea' apply plugin: 'spring-boot' +apply plugin: 'war' + + jar { - baseName = 'gs-rest-service' + baseName = 'nfc_server' version = '0.1.0' } @@ -24,9 +28,12 @@ repositories { } dependencies { - compile("org.springframework.boot:spring-boot-starter-web") compile("com.fasterxml.jackson.core:jackson-databind") testCompile("junit:junit") - compile 'org.springframework:spring-core:3.0.6.RELEASE' - compile 'org.springframework:spring-webmvc:3.1.1.RELEASE' -} + compile 'org.springframework:spring-core:4.0.0.RELEASE' + compile("org.springframework.boot:spring-boot-starter-data-jpa") + compile("com.h2database:h2") + compile 'org.json:json:20080701' + + compile("org.springframework.boot:spring-boot-starter-web") +} \ No newline at end of file