diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/build.gradle b/build.gradle index f4128c78..89ffeb42 100644 --- a/build.gradle +++ b/build.gradle @@ -21,8 +21,7 @@ allprojects { } project.ext { - springFrameworkVersion = '5.0.4.RELEASE' - springSecurityVersion = '5.0.3.RELEASE' + springBootVersion = '2.0.0.RELEASE' jacksonVersion = '2.9.4' slf4jVersion = '1.7.25' logbackVersion = '1.2.3' @@ -37,20 +36,13 @@ buildscript { jcenter() } dependencies { - classpath 'org.akhikhl.gretty:gretty:+' + classpath "org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE" classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' } } apply plugin: 'java' -apply plugin: 'org.akhikhl.gretty' - -farm { - webapp ':juick-www' - webapp ':juick-server' - - - servletContainer = 'tomcat8' -} +apply plugin: 'org.springframework.boot' +apply plugin: 'io.spring.dependency-management' repositories { jcenter() @@ -62,9 +54,9 @@ dependencies { testCompile "org.json:json:20180130" testCompile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}" testCompile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}" - testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${rootProject.jacksonVersion}" - testCompile "org.springframework:spring-jdbc:${springFrameworkVersion}" - testCompile "org.springframework:spring-test:${springFrameworkVersion}" + testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}" + compile("org.springframework.boot:spring-boot-starter-jdbc") + compile("org.springframework.boot:spring-boot-starter-test") testCompile "org.slf4j:slf4j-api:${slf4jVersion}" testCompile "junit:junit:${junitVersion}" testCompile "org.hamcrest:hamcrest-all:${hamcrestVersion}" |