gradle now deprecated 'compile'. Superseded by implementation.

pull/1069/head
Weiwu Zhang 5 years ago
parent 1c1cd6799e
commit fa0abb0a9e
  1. 8
      dmz/build.gradle
  2. 4
      lib/build.gradle
  3. 6
      util/build.gradle

@ -31,12 +31,12 @@ dependencies {
// https://mvnrepository.com/artifact/com.github.cliftonlabs/json-simple
compile group: 'com.github.cliftonlabs', name: 'json-simple', version: '3.1.0'
compile group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.1.12'
compile group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
implementation group: 'com.github.cliftonlabs', name: 'json-simple', version: '3.1.0'
implementation group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.1.12'
implementation group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
testCompile("junit:junit")
compile project(path: ':lib')
implementation project(path: ':lib')
}
bootRun {

@ -16,9 +16,9 @@ dependencies {
testImplementation 'junit:junit:4.12'
implementation 'org.bouncycastle:bcprov-jdk15on:1.62'
// https://mvnrepository.com/artifact/com.github.cliftonlabs/json-simple
compile group: 'com.github.cliftonlabs', name: 'json-simple', version: '3.1.0'
implementation group: 'com.github.cliftonlabs', name: 'json-simple', version: '3.1.0'
// https://mvnrepository.com/artifact/com.google.code.gson/gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
}
sourceCompatibility = "1.8"

@ -14,12 +14,12 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile 'org.web3j:core:4.5.0'
implementation 'org.web3j:core:4.5.0'
testImplementation 'junit:junit:4.12'
compile project(path: ':lib')
implementation project(path: ':lib')
// To avoid any kind of class conflicts and logger conflicts,
// JDeferred does not include any logger libraries. Providing one here.
compile 'org.slf4j:slf4j-nop:1.7.25'
implementation 'org.slf4j:slf4j-nop:1.7.25'
}
run {

Loading…
Cancel
Save