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