Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Dependencies Version upgrade #303

Merged
merged 4 commits into from
Nov 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions acceptance-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ dependencies {
testImplementation project(':ethereum:jsonrpc')
testImplementation project(':pantheon')
testImplementation project(':util')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')

testImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation 'junit:junit'
testImplementation 'org.awaitility:awaitility'
testImplementation 'com.google.guava:guava'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'io.vertx:vertx-core'
testImplementation 'junit:junit'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.assertj:assertj-core'
testImplementation 'com.google.guava:guava'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.web3j:core'
}

Expand Down
21 changes: 10 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@
import net.ltgt.gradle.errorprone.CheckSeverity

plugins {
id 'com.diffplug.gradle.spotless' version '3.13.0'
id 'io.spring.dependency-management' version '1.0.4.RELEASE'
id 'com.github.hierynomus.license' version '0.14.0'
id 'net.ltgt.errorprone' version '0.6'
id 'me.champeau.gradle.jmh' version '0.4.5' apply false
id 'com.diffplug.gradle.spotless' version '3.16.0'
id 'com.jfrog.bintray' version '1.8.4'
id 'net.researchgate.release' version '2.6.0'
id 'com.github.ben-manes.versions' version '0.20.0'
id 'com.github.hierynomus.license' version '0.15.0'
id 'io.spring.dependency-management' version '1.0.6.RELEASE'
id 'me.champeau.gradle.jmh' version '0.4.7' apply false
id 'net.ltgt.errorprone' version '0.6'
id 'net.researchgate.release' version '2.7.0'
}

apply from: './versions.gradle'

group = 'tech.pegasys.pantheon'

defaultTasks 'build', 'checkLicenses', 'javadoc'
Expand Down Expand Up @@ -89,9 +88,9 @@ allprojects {
}

dependencies {
errorprone("com.google.errorprone:error_prone_core:$errorproneCore")
errorprone("com.google.errorprone:error_prone_core")
if (JavaVersion.current().isJava8()) {
errorproneJavac("com.google.errorprone:javac:$errorproneJavac")
errorproneJavac("com.google.errorprone:javac")
}
}

Expand Down Expand Up @@ -331,7 +330,7 @@ startScripts {

dependencies {
compile project(':pantheon')
errorprone 'com.google.errorprone:error_prone_core:2.3.1'
errorprone 'com.google.errorprone:error_prone_core'
}

distributions {
Expand Down
4 changes: 2 additions & 2 deletions config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jar {

dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation 'io.vertx:vertx-core'
implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'
implementation 'org.apache.logging.log4j:log4j-api'

runtime 'org.apache.logging.log4j:log4j-core'

testImplementation project(':testutil')

testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'junit:junit'
}

configurations { testArtifacts }
Expand Down
12 changes: 7 additions & 5 deletions consensus/clique/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ repositories { mavenCentral() }

dependencies {
implementation project(':config')
implementation project(':consensus:common')
implementation project(':crypto')
implementation project(':ethereum:core')
implementation project(':ethereum:blockcreation')
Expand All @@ -38,13 +39,14 @@ dependencies {
implementation project(':ethereum:p2p')
implementation project(':services:kvstore')
implementation project(':consensus:common')
implementation project(':util')

implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'
implementation 'com.google.guava:guava'

implementation project(':util')
testImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation "org.assertj:assertj-core:3.10.0"
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')

testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}
2 changes: 2 additions & 0 deletions consensus/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jar {
dependencies {
implementation project(':ethereum:core')
implementation project(':util')

implementation 'com.google.guava:guava'

testImplementation project(':crypto')
testImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')

testImplementation 'junit:junit'
testImplementation "org.assertj:assertj-core"
testImplementation 'org.mockito:mockito-core'
Expand Down
13 changes: 6 additions & 7 deletions consensus/ibft/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,22 @@ dependencies {
implementation project(':config')
implementation project(':consensus:common')
implementation project(':crypto')
implementation project(':ethereum:core')
implementation project(':ethereum:blockcreation')
implementation project(':ethereum:core')
implementation project(':ethereum:eth')
implementation project(':ethereum:jsonrpc')
implementation project(':ethereum:rlp')
implementation project(':ethereum:p2p')
implementation project(':services:kvstore')

implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'
implementation 'com.google.guava:guava'

testImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')

testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation "org.awaitility:awaitility:3.1.2"
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')

testImplementation "org.assertj:assertj-core:3.10.0"
testImplementation 'junit:junit'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

Expand Down
15 changes: 7 additions & 8 deletions consensus/ibftlegacy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jar {
}

dependencies {
implementation project(':config')
implementation project(':consensus:common')
implementation project(':consensus:ibft')
implementation project(':config')
implementation project(':crypto')
implementation project(':ethereum:core')
implementation project(':ethereum:blockcreation')
implementation project(':ethereum:core')
implementation project(':ethereum:eth')
implementation project(':ethereum:jsonrpc')
implementation project(':ethereum:rlp')
Expand All @@ -28,12 +28,11 @@ dependencies {
implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'

testImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project( path: ':consensus:ibft', configuration: 'testSupportArtifacts')

testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation "org.awaitility:awaitility:3.1.2"
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(path: ':consensus:ibft', configuration: 'testSupportArtifacts')

testImplementation "org.assertj:assertj-core:3.10.0"
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.mockito:mockito-core'
}
16 changes: 8 additions & 8 deletions errorprone-checks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// See https://github.com/tbroyer/gradle-errorprone-plugin
// See https://github.com/tbroyer/gradle-apt-plugin
plugins { id 'net.ltgt.apt' version '0.14' apply false }
plugins { id 'net.ltgt.apt' version '0.19' apply false }

// we use this config to get the path of the JDK 9 javac jar, to
// stick it in the bootclasspath when running tests
Expand All @@ -29,17 +29,17 @@ targetCompatibility = 1.8

dependencies {

implementation "com.google.errorprone:error_prone_core"
implementation "com.google.errorprone:error_prone_annotation"
implementation 'com.google.errorprone:error_prone_annotation'
implementation 'com.google.errorprone:error_prone_core'
implementation 'com.google.auto.service:auto-service'

implementation "com.google.auto.service:auto-service:1.0-rc4"
annotationProcessor "com.google.auto.service:auto-service:1.0-rc4"
annotationProcessor 'com.google.auto.service:auto-service'

testImplementation "junit:junit"
testImplementation "org.assertj:assertj-core"
testImplementation 'com.google.errorprone:error_prone_test_helpers'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'

epJavac "com.google.errorprone:error_prone_check_api"
epJavac 'com.google.errorprone:error_prone_check_api'
}

test {
Expand Down
9 changes: 5 additions & 4 deletions ethereum/blockcreation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ dependencies {
implementation project(':crypto')
implementation project(':services:kvstore')

implementation 'io.vertx:vertx-core'
implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'

testImplementation project(path: ':config', configuration: 'testSupportArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')

testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.mockito:mockito-core'
testImplementation project(path: ':config', configuration: 'testSupportArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')
}
16 changes: 9 additions & 7 deletions ethereum/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,33 +39,35 @@ dependencies {

runtime 'org.apache.logging.log4j:log4j-core'

testImplementation project(path: ':config', configuration: 'testSupportArtifacts')
testImplementation project(path:':ethereum:referencetests', configuration: 'testOutput')
testImplementation project( path: ':config', configuration: 'testSupportArtifacts')
testImplementation project(':testutil')

testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'junit:junit'

integrationTestImplementation project(path: ':config', configuration: 'testSupportArtifacts')

integrationTestImplementation 'junit:junit'
integrationTestImplementation 'org.assertj:assertj-core'
integrationTestImplementation 'org.mockito:mockito-core'
integrationTestImplementation 'junit:junit'

testSupportImplementation project(path: ':config', configuration: 'testSupportArtifacts')
testSupportImplementation project(':testutil')
testSupportImplementation project( path: ':config', configuration: 'testSupportArtifacts')

testSupportImplementation 'junit:junit'
testSupportImplementation 'org.assertj:assertj-core'
testSupportImplementation 'org.mockito:mockito-core'
testSupportImplementation 'junit:junit'

jmhImplementation project(':util')
jmhImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')
jmhImplementation project(path: ':config', configuration: 'testSupportArtifacts')
jmhImplementation project(':crypto')
jmhImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
jmhImplementation project(':ethereum:rlp')
jmhImplementation project(':ethereum:trie')
jmhImplementation project(':services:kvstore')
jmhImplementation project(':util')

jmhImplementation 'com.google.guava:guava'
jmhImplementation 'org.openjdk.jmh:jmh-generator-annprocess'
}
Expand Down
4 changes: 2 additions & 2 deletions ethereum/eth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ dependencies {

testImplementation project(':config')
testImplementation project(':crypto')
testImplementation project( path: ':ethereum:core', configuration: 'testArtifacts')
testImplementation project( path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(':ethereum:mock-p2p')
testImplementation project(':testutil')

Expand Down
6 changes: 3 additions & 3 deletions ethereum/jsonrpc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jar {

dependencies {
implementation project(':crypto')
implementation project(':ethereum:core')
implementation project(':ethereum:blockcreation')
implementation project(':ethereum:core')
implementation project(':ethereum:eth')
implementation project(':ethereum:p2p')
implementation project(':ethereum:rlp')
Expand All @@ -37,10 +37,10 @@ dependencies {
implementation 'io.vertx:vertx-core'
implementation 'io.vertx:vertx-web'

testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(':config')
testImplementation project(path: ':config', configuration: 'testSupportArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(':services:kvstore')
testImplementation project(':testutil')

Expand Down
16 changes: 8 additions & 8 deletions ethereum/p2p/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jar {

dependencies {
implementation project(':crypto')
implementation project(':ethereum:rlp')
implementation project(':ethereum:core')
implementation project(':ethereum:rlp')

implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'
Expand All @@ -38,18 +38,18 @@ dependencies {
runtime 'org.apache.logging.log4j:log4j-core'

// test dependencies.
testImplementation project (path: ':ethereum:core', configuration: 'testArtifacts')
testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')
testImplementation project(':testutil')

testImplementation 'junit:junit'
testImplementation('io.pkts:pkts-core') {
exclude group: 'io.pkts', module: 'pkts-sdp'
exclude group: 'io.pkts', module: 'pkts-sip'
}
testImplementation 'io.vertx:vertx-unit'
testImplementation 'io.vertx:vertx-codegen'
testImplementation "org.mockito:mockito-core"
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.mockito:mockito-core'

testImplementation('io.pkts:pkts-core') {
exclude group: 'io.pkts', module: 'pkts-sdp'
exclude group: 'io.pkts', module: 'pkts-sip'
}
}
2 changes: 1 addition & 1 deletion ethereum/rlp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ dependencies {

jmh project(':util')

testImplementation project(':testutil')
testImplementation project(path:':ethereum:referencetests', configuration: 'testOutput')
testImplementation project(':testutil')

testImplementation 'org.assertj:assertj-core'
testImplementation 'com.fasterxml.jackson.core:jackson-databind'
Expand Down
2 changes: 1 addition & 1 deletion ethereum/trie/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ dependencies {

testImplementation 'com.fasterxml.jackson.core:jackson-databind'
testImplementation 'junit:junit'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

test { exclude 'tech/pegasys/pantheon/ethereum/trie/TrieRefTest.class' }
Expand Down
Loading