bitcoinj/examples-kotlin/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

21 lines
368 B
Groovy

plugins {
id "org.jetbrains.kotlin.jvm" version "2.0.0"
}
dependencies {
implementation project(':bitcoinj-core')
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release = 17
options.compilerArgs << '-Xlint:deprecation'
}
javadoc.options.encoding = 'UTF-8'