diff options
author | Vitaly Takmazov | 2018-03-16 00:16:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-16 00:16:48 +0300 |
commit | 7cadae166b103182d7d1daaafe602cd8fb145c53 (patch) | |
tree | 3ec1072caadce30821588828412d9400ffeb32bd /build.gradle | |
parent | 4f0fb934c083accf522d7cfc7082a9ea292d9955 (diff) |
boot: jackson is in spring-boot-starter-json
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/build.gradle b/build.gradle index 26bde551..44c69936 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,15 @@ +buildscript { + repositories { + mavenCentral() + jcenter() + } + dependencies { + classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' + } +} +plugins { + id 'org.springframework.boot' version '2.0.0.RELEASE' +} allprojects { repositories { mavenCentral() @@ -9,6 +21,7 @@ allprojects { apply plugin: 'org.springframework.boot' apply plugin: 'io.spring.dependency-management' apply plugin: 'com.github.ben-manes.versions' + dependencyUpdates.resolutionStrategy = { componentSelection { rules -> rules.all { ComponentSelection selection -> @@ -23,36 +36,14 @@ allprojects { } } -project.ext { - springBootVersion = '2.0.0.RELEASE' - jacksonVersion = '2.9.4' -} - -buildscript { - repositories { - mavenCentral() - jcenter() - } - dependencies { - classpath "org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE" - classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' - } -} - repositories { jcenter() } -dependencyManagement { - imports { mavenBom("org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}") } -} dependencies { testCompile project(':juick-core') testCompile project(':juick-www') 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:${jacksonVersion}" compile("org.springframework.boot:spring-boot-starter-jdbc") compile("org.springframework.boot:spring-boot-starter-test") testRuntime "mysql:mysql-connector-java:5.1.40" |