add constraint for jnr-posix dependency (#3789)

* require 3.1.15 of jnr-posix

* cover more bases with epl license

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>

Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
pull/3803/head
Sally MacFarlane 3 years ago committed by GitHub
parent 57c71fdb10
commit baed1ef02c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      acceptance-tests/tests/build.gradle
  2. 8
      besu/build.gradle
  3. 8
      ethereum/p2p/build.gradle
  4. 1
      gradle/check-licenses.gradle

@ -75,6 +75,12 @@ dependencies {
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.web3j:abi'
testImplementation 'org.web3j:besu'
testImplementation 'org.web3j:core'
constraints {
implementation('jnr-posix:3.1.15') {
because '3.0.47 from web3j has issues'
}
}
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
}

@ -97,6 +97,14 @@ dependencies {
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'tech.pegasys.discovery:discovery'
constraints {
implementation('com.github.jnr:jnr-posix') {
version {
require '3.1.15'
}
because '3.0.47 from web3j has issues'
}
}
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
}

@ -59,6 +59,14 @@ dependencies {
annotationProcessor "org.immutables:value"
implementation "org.immutables:value-annotations"
implementation 'tech.pegasys.discovery:discovery'
constraints {
implementation('com.github.jnr:jnr-posix') {
version {
require '3.1.15'
}
because '3.0.47 from web3j has issues'
}
}
// test dependencies.
testImplementation project(path: ':ethereum:core', configuration: 'testArtifacts')

@ -168,6 +168,7 @@ downloadLicenses {
// jnr-posix is released under a tri EPL v2.0/GPL/LGPL license
'com.github.jnr:jnr-posix:3.0.47' : epl2,
'com.github.jnr:jnr-posix:3.1.15' : epl2,
// io.netty:netty-tcnative-boringssl-static license markings are not machine readable.
// io.netty:netty-tcnative-classes license markings are not machine readable.

Loading…
Cancel
Save