@@ -23,10 +23,10 @@ subprojects {
2323 }
2424
2525 dependencies {
26- testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
27- testCompile group : ' org.mockito' , name : ' mockito-all' , version : ' 1.9.5'
28- testCompile group : ' org.assertj' , name : ' assertj-core' , version : ' 3.6.1'
29- testCompile group : ' ch.qos.logback' , name : ' logback-classic' , version : ' 1.2.3'
26+ testCompile ' junit: junit: 4.12'
27+ testCompile ' org.mockito: mockito-all: 1.9.5'
28+ testCompile ' org.assertj: assertj-core: 3.6.1'
29+ testCompile ' ch.qos.logback: logback-classic: 1.2.3'
3030 }
3131
3232 tasks. withType(JavaCompile ) {
@@ -59,6 +59,15 @@ subprojects {
5959 artifact sourcesJar
6060 artifact javadocJar
6161 }
62+ all {
63+ pom. withXml {
64+ asNode(). dependencies. ' *' . findAll() {
65+ it. scope. text() == ' runtime' && project. configurations. compile. allDependencies. find { dep ->
66+ dep. name == it. artifactId. text()
67+ }
68+ }. each { it. scope* . value = ' compile' }
69+ }
70+ }
6271 }
6372 }
6473
@@ -71,11 +80,11 @@ subprojects {
7180
7281project(' :embedded-database-spring-test-core' ) {
7382 dependencies {
74- compile group : ' org.springframework' , name : ' spring-context' , version : ' 4.3.10.RELEASE'
75- compile group : ' org.springframework' , name : ' spring-test' , version : ' 4.3.10.RELEASE'
76- compile group : ' com.opentable.components' , name : ' otj-pg-embedded' , version : ' 0.9.0'
77- compile group : ' org.flywaydb.flyway-test-extensions' , name : ' flyway-spring-test' , version : ' 4.2.0.1'
78- compile group : ' com.google.guava' , name : ' guava' , version : ' 23.0'
83+ compile ' org.springframework: spring-context: 4.3.10.RELEASE'
84+ compile ' org.springframework: spring-test: 4.3.10.RELEASE'
85+ compile ' com.opentable.components: otj-pg-embedded: 0.9.0'
86+ compile ' org.flywaydb.flyway-test-extensions: flyway-spring-test: 4.2.0.1'
87+ compile ' com.google.guava: guava: 23.0'
7988 }
8089}
8190
0 commit comments