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.
18 lines
389 B
Groovy
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'
|