mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
c967c6045c
We have defined `release` one way or another, and on JDK 17 that should suffice.
34 lines
1023 B
Groovy
34 lines
1023 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'java-library'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':bitcoinj-core')
|
|
implementation project(':bitcoinj-examples')
|
|
|
|
testImplementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.3"
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:5.10.3"
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'org.easymock:easymock:5.4.0'
|
|
testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.16.1'
|
|
testImplementation 'org.hamcrest:hamcrest-library:3.0'
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.3"
|
|
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.10.3"
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
options.release = 17
|
|
options.compilerArgs << '-Xlint:deprecation'
|
|
}
|
|
|
|
javadoc.options.encoding = 'UTF-8'
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
exclude 'org/bitcoinj/core/PeerTest*'
|
|
exclude 'org/bitcoinj/core/TransactionBroadcastTest*'
|
|
}
|