mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 15:37:54 -05:00
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user