build.gradle: target Java 17 for wallettool, tools, integration-test, examples, examples-kotlin

This commit is contained in:
Andreas Schildbach 2024-08-29 08:42:20 +02:00
parent a08f442d82
commit 9a61a23f0a
5 changed files with 10 additions and 10 deletions

View File

@ -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'
}

View File

@ -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'
}

View File

@ -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'

View File

@ -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'
}

View File

@ -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'
}