mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 05:12:30 +01:00
build.gradle: target Java 17 for wallettool, tools, integration-test, examples, examples-kotlin
This commit is contained in:
parent
a08f442d82
commit
9a61a23f0a
@ -7,16 +7,16 @@ dependencies {
|
||||
}
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
jvmTarget = "17"
|
||||
}
|
||||
}
|
||||
|
||||
sourceCompatibility = 11
|
||||
sourceCompatibility = 17
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.addAll(['--release', '11'])
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
}
|
||||
|
@ -8,12 +8,12 @@ dependencies {
|
||||
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
||||
}
|
||||
|
||||
sourceCompatibility = 11
|
||||
sourceCompatibility = 17
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.addAll(['--release', '11'])
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ dependencies {
|
||||
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.10.3"
|
||||
}
|
||||
|
||||
sourceCompatibility = 11
|
||||
sourceCompatibility = 17
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
@ -8,13 +8,13 @@ dependencies {
|
||||
implementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
||||
}
|
||||
|
||||
sourceCompatibility = 11
|
||||
sourceCompatibility = 17
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.addAll(['--release', '11'])
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
}
|
||||
|
||||
|
@ -31,13 +31,13 @@ dependencies {
|
||||
testImplementation 'org.slf4j:slf4j-jdk14:2.0.13'
|
||||
}
|
||||
|
||||
sourceCompatibility = 11
|
||||
sourceCompatibility = 17
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.addAll(['--release', '11'])
|
||||
options.compilerArgs.addAll(['--release', '17'])
|
||||
options.compilerArgs << '-Xlint:deprecation'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user