2022-04-11 17:18:28 -07:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'java-library'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':bitcoinj-core')
|
2022-07-28 19:24:02 -07:00
|
|
|
implementation project(':bitcoinj-examples')
|
2022-04-11 17:18:28 -07:00
|
|
|
|
2024-11-19 13:31:24 +01:00
|
|
|
testImplementation 'org.slf4j:slf4j-jdk14:2.0.16'
|
2025-01-19 21:03:28 +01:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.11.4"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:5.11.4"
|
2022-04-30 14:12:33 -07:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
2025-01-19 21:07:58 +01:00
|
|
|
testImplementation 'org.easymock:easymock:5.5.0'
|
2025-01-19 21:18:21 +01:00
|
|
|
testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.18.1'
|
2024-08-03 09:48:39 +02:00
|
|
|
testImplementation 'org.hamcrest:hamcrest-library:3.0'
|
2025-01-19 21:03:28 +01:00
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.11.4"
|
|
|
|
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.11.4"
|
2022-04-11 17:18:28 -07:00
|
|
|
}
|
|
|
|
|
2024-08-29 22:56:59 +02:00
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = 'UTF-8'
|
|
|
|
options.release = 17
|
2022-04-18 10:42:38 -07:00
|
|
|
options.compilerArgs << '-Xlint:deprecation'
|
|
|
|
}
|
|
|
|
|
2024-08-29 22:56:59 +02:00
|
|
|
javadoc.options.encoding = 'UTF-8'
|
|
|
|
|
2022-04-11 17:18:28 -07:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2022-05-24 14:35:59 -07:00
|
|
|
exclude 'org/bitcoinj/core/PeerTest*'
|
|
|
|
exclude 'org/bitcoinj/core/TransactionBroadcastTest*'
|
2022-04-11 17:18:28 -07:00
|
|
|
}
|