Changed from old "compile" to new "implementation"

Worked successfully with Gradle 6.8.1 and JDK11
This commit is contained in:
Bruce Eckel 2021-09-07 14:06:38 -06:00
parent 9706bfaa65
commit 3a84d492f9

View File

@ -18,7 +18,7 @@ sourceSets {
include '*.xml' include '*.xml'
} }
} }
test { test {
java { java {
srcDir file("tests") srcDir file("tests")
@ -32,8 +32,8 @@ repositories {
dependencies { dependencies {
// Logging: // Logging:
compile 'org.slf4j:slf4j-api:1.7.21' implementation 'org.slf4j:slf4j-api:1.7.21'
compile 'ch.qos.logback:logback-classic:1.1.7' implementation 'ch.qos.logback:logback-classic:1.1.7'
// You can also use the JDK's built-in logging as the back end: // You can also use the JDK's built-in logging as the back end:
// compile group: 'org.slf4j:slf4j-jdk14:1.7.21' // compile group: 'org.slf4j:slf4j-jdk14:1.7.21'
} }