@@ -31,7 +31,7 @@ buildscript {
3131
3232 // Scala plugins
3333 classpath " com.adtran:scala-multiversion-plugin:1.0.35"
34- classpath " com.diffplug.spotless:spotless-plugin-gradle:3.24.2 "
34+ classpath " com.diffplug.spotless:spotless-plugin-gradle:3.27.1 "
3535 }
3636}
3737
@@ -103,11 +103,11 @@ configure(scalaProjects) {
103103 compile (' org.scala-lang:scala-library:%scala-version%' )
104104 compile (' org.scala-lang:scala-reflect:%scala-version%' )
105105
106- testCompile (' junit:junit:4.12' )
107- testCompile (' org.scalatest:scalatest_%%:3.0.8' )
108- testCompile (' org.scalamock:scalamock_%%:4.4.0' )
109- testCompile (' ch.qos.logback:logback-classic:1.1.3' )
110- testCompile (' org.reflections:reflections:0.9.10' )
106+ testImplementation (' junit:junit:4.12' )
107+ testImplementation (' org.scalatest:scalatest_%%:3.0.8' )
108+ testImplementation (' org.scalamock:scalamock_%%:4.4.0' )
109+ testImplementation (' ch.qos.logback:logback-classic:1.1.3' )
110+ testImplementation (' org.reflections:reflections:0.9.10' )
111111 }
112112
113113
@@ -131,11 +131,12 @@ configure(scalaProjects) {
131131
132132configure(javaMainProjects) {
133133 apply plugin : ' nebula.optional-base'
134-
134+ apply plugin : ' java-library'
135+
135136 dependencies {
136137 compileOnly ' com.google.code.findbugs:jsr305:1.3.9'
137- compile ' org.slf4j:slf4j-api:1.7.6' , optional
138- testCompile ' com.google.code.findbugs:jsr305:1.3.9'
138+ api ' org.slf4j:slf4j-api:1.7.6' , optional
139+ testImplementation ' com.google.code.findbugs:jsr305:1.3.9'
139140 }
140141
141142 /* Compiling */
@@ -155,13 +156,13 @@ configure(javaCodeCheckedProjects) {
155156 apply plugin : ' codenarc'
156157
157158 dependencies {
158- testCompile ' org.codehaus.groovy:groovy-all:2.4.15'
159- testCompile ' org.spockframework:spock-core:1.1-groovy-2.4'
160- testCompile ' cglib:cglib-nodep:2.2.2'
161- testCompile ' org.objenesis:objenesis:1.3'
162- testCompile ' org.hamcrest:hamcrest-all:1.3'
163- testCompile ' ch.qos.logback:logback-classic:1.1.1'
164- testCompile project(' :util' ) // Adding categories to classpath
159+ testImplementation ' org.codehaus.groovy:groovy-all:2.4.15'
160+ testImplementation ' org.spockframework:spock-core:1.1-groovy-2.4'
161+ testImplementation ' cglib:cglib-nodep:2.2.2'
162+ testImplementation ' org.objenesis:objenesis:1.3'
163+ testImplementation ' org.hamcrest:hamcrest-all:1.3'
164+ testImplementation ' ch.qos.logback:logback-classic:1.1.1'
165+ testImplementation project(' :util' ) // Adding categories to classpath
165166 }
166167
167168 sourceSets {
0 commit comments