Skip to content

Commit

Permalink
centralize spring boot version
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Jun 11, 2017
1 parent c13d9b3 commit 28850a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
14 changes: 2 additions & 12 deletions autoconfigure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ archivesBaseName = "okhttp-spring-boot-autoconfigure"

javadoc.options.linkSource true

dependencyManagement {
imports {
mavenBom 'org.springframework.boot:spring-boot-dependencies:2.0.0.M1'
}
}

checkstyle.toolVersion = "7.8.1"

compileJava.dependsOn(processResources)

dependencies {
compileOnly 'org.projectlombok:lombok'
compileOnly 'org.springframework.boot:spring-boot-configuration-processor'

compile 'org.springframework.boot:spring-boot-autoconfigure'

Expand All @@ -33,11 +28,6 @@ dependencies {
compileOnly 'com.squareup.okhttp:okhttp:2.+'
compileOnly 'com.squareup.okhttp:logging-interceptor:2.+'

compileOnly 'org.springframework.boot:spring-boot-configuration-processor'

testCompile 'org.springframework.boot:spring-boot-starter-test'
//https://github.com/spring-projects/spring-boot/issues/8492
testCompile 'org.springframework.boot:spring-boot-starter-logging'
testCompile 'com.squareup.okhttp3:okhttp'

testCompile 'com.squareup.okhttp3:okhttp:3.8.0'
}
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,12 @@ allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

pluginManager.withPlugin('io.spring.dependency-management') {
dependencyManagement {
imports {
mavenBom 'org.springframework.boot:spring-boot-dependencies:2.0.0.M1'
}
}
}
}

0 comments on commit 28850a5

Please sign in to comment.