bitcoinj/examples/build.gradle
Andreas Schildbach c967c6045c build.gradle: remove sourceCompatibility, targetCompatibility
We have defined `release` one way or another, and on JDK 17 that should
suffice.
2024-08-29 23:07:30 +02:00

18 lines
389 B
Groovy

plugins {
id 'java'
}
dependencies {
implementation project(':bitcoinj-core')
implementation 'info.picocli:picocli:4.7.6'
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs.addAll(['--release', '17'])
options.compilerArgs << '-Xlint:deprecation'
}
javadoc.options.encoding = 'UTF-8'