Permalink
Browse files

Merge pull request #455 from p-s-dev/gradleTestDeps

import test dependencies from testArtifacts rather than archives.
  • Loading branch information...
conor10 committed Apr 3, 2018
2 parents ea6858b + 267fef9 commit fc1d05346a525cc008be00658a4bf3d4160cd968
View
@@ -4,4 +4,5 @@ description 'web3j project code generators'
dependencies {
compile project(':core'),
"com.squareup:javapoet:$javapoetVersion"
testCompile project(path: ':core', configuration: 'testArtifacts')
}

This file was deleted.

Oops, something went wrong.
View
@@ -7,8 +7,8 @@ dependencies {
compile project(':codegen'),
project(':infura')
runtime "org.slf4j:slf4j-nop:$slf4jVersion" // prevent logging of the library to the console
testCompile project(path: ':crypto', configuration: 'archives'),
project(path: ':core', configuration: 'archives')
testCompile project(path: ':crypto', configuration: 'testArtifacts'),
project(path: ':core', configuration: 'testArtifacts')
}
// Build command line library release with target distShadowZip
View
@@ -10,7 +10,7 @@ dependencies {
"com.squareup.okhttp3:okhttp:$okhttpVersion",
"com.squareup.okhttp3:logging-interceptor:$okhttpVersion",
"io.reactivex:rxjava:$rxjavaVersion"
testCompile project(path: ':crypto', configuration: 'archives'),
testCompile project(path: ':crypto', configuration: 'testArtifacts'),
"nl.jqno.equalsverifier:equalsverifier:$equalsverifierVersion"
}
@@ -36,3 +36,11 @@ def getTimestamp() {
classes {
dependsOn createProperties
}
configurations {
testArtifacts.extendsFrom testRuntime
}
artifacts {
testArtifacts testJar
}
View
@@ -7,3 +7,11 @@ dependencies {
"com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
"org.slf4j:slf4j-api:$slf4jVersion"
}
configurations {
testArtifacts.extendsFrom testRuntime
}
artifacts {
testArtifacts testJar
}
View
@@ -3,5 +3,5 @@ description 'Geth JSON-RPC API'
dependencies {
compile project(':core')
testCompile project(path: ':core', configuration: 'archives')
testCompile project(path: ':core', configuration: 'testArtifacts')
}
View
@@ -3,6 +3,6 @@ description 'Parity JSON-RPC API'
dependencies {
compile project(':core')
testCompile project(path: ':core', configuration: 'archives'),
testCompile project(path: ':core', configuration: 'testArtifacts'),
"nl.jqno.equalsverifier:equalsverifier:$equalsverifierVersion"
}

0 comments on commit fc1d053

Please sign in to comment.