Changes to support Gradle 5.0 (#371)

* Explicitly declare some dependencies for the acceptance tests
** rxjava2
** Java-WebSocket
** web3j:abi and web3j:crypto
* Change annotation processor path declaration
Danno Ferrin 6 years ago committed by GitHub
parent c8e1c07d7c
commit d9a7ad2eb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      acceptance-tests/build.gradle
  2. 5
      build.gradle
  3. 6
      gradle/versions.gradle

@ -30,12 +30,16 @@ dependencies {
testImplementation 'com.google.guava:guava'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'io.reactivex.rxjava2:rxjava'
testImplementation 'io.vertx:vertx-core'
testImplementation 'junit:junit'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.java-websocket:Java-WebSocket'
testImplementation 'org.web3j:abi'
testImplementation 'org.web3j:core'
testImplementation 'org.web3j:crypto'
}
test.enabled = false

@ -386,10 +386,7 @@ configure(subprojects.findAll {it.name != 'errorprone-checks'}) {
dependencies { annotationProcessor project(":errorprone-checks") }
tasks.withType(JavaCompile) {
options.compilerArgs += [
'-processorpath',
configurations.annotationProcessor.asPath
]
options.annotationProcessorPath = configurations.annotationProcessor
}
}

@ -38,6 +38,8 @@ dependencyManagement {
dependency "io.prometheus:simpleclient:0.5.0"
dependency "io.prometheus:simpleclient_hotspot:0.5.0"
dependency 'io.reactivex.rxjava2:rxjava:2.2.2'
dependency 'io.vertx:vertx-codegen:3.5.4'
dependency 'io.vertx:vertx-core:3.5.4'
dependency 'io.vertx:vertx-unit:3.5.4'
@ -57,6 +59,8 @@ dependencyManagement {
dependency 'org.bouncycastle:bcprov-jdk15on:1.60'
dependency 'org.java-websocket:Java-WebSocket:1.3.8'
dependency 'org.mockito:mockito-core:2.23.4'
dependency 'org.openjdk.jmh:jmh-core:1.21'
@ -64,7 +68,9 @@ dependencyManagement {
dependency 'org.rocksdb:rocksdbjni:5.15.10'
dependency 'org.web3j:abi:4.0.1'
dependency 'org.web3j:core:4.0.1'
dependency 'org.web3j:crypto:4.0.1'
dependency 'org.xerial.snappy:snappy-java:1.1.7.2'
}

Loading…
Cancel
Save