build.gradle: Use 'implementation' dependency type, rather than 'compile'.

This commit is contained in:
Andreas Schildbach 2020-03-06 21:27:04 +01:00
parent 2300d949d8
commit fde9fcd2b4

View file

@ -12,15 +12,15 @@ repositories {
dependencies { dependencies {
//noinspection GradleDependency //noinspection GradleDependency
compile 'com.squareup.okhttp3:okhttp:3.12.10' implementation 'com.squareup.okhttp3:okhttp:3.12.10'
//noinspection GradleDependency //noinspection GradleDependency
compile 'com.squareup.okhttp3:logging-interceptor:3.12.10' implementation 'com.squareup.okhttp3:logging-interceptor:3.12.10'
compile 'com.google.guava:guava:28.2-android' implementation 'com.google.guava:guava:28.2-android'
compile 'org.slf4j:slf4j-api:1.7.30' implementation 'org.slf4j:slf4j-api:1.7.30'
compile 'com.google.code.findbugs:jsr305:3.0.2' implementation 'com.google.code.findbugs:jsr305:3.0.2'
compile 'org.json:json:20090211' // provided by Android implementation 'org.json:json:20090211' // provided by Android
compile 'net.sf.kxml:kxml2:2.3.0' // provided by Android implementation 'net.sf.kxml:kxml2:2.3.0' // provided by Android
testCompile 'junit:junit:4.13' testImplementation 'junit:junit:4.13'
testRuntime 'org.slf4j:slf4j-jdk14:1.7.30' testRuntime 'org.slf4j:slf4j-jdk14:1.7.30'
} }