diff options
author | mvicsokolova <82594708+mvicsokolova@users.noreply.github.com> | 2023-09-15 14:48:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 14:48:11 +0200 |
commit | 6b97f4b963714a5d8c1f0f420ae61c8949b97358 (patch) | |
tree | 7ce2690b4637db1b6396779b2160c270c12038c1 | |
parent | de383828179f5c9afc31ddad44fa0061fd4ada89 (diff) | |
download | kotlinx.atomicfu-6b97f4b963714a5d8c1f0f420ae61c8949b97358.tar.gz |
Upgrade JDK target version to 11 in integration tests. (#349)
Api used in MavenPublicationMetaInfValidator requires JDK10+
-rw-r--r-- | integration-testing/build.gradle | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/integration-testing/build.gradle b/integration-testing/build.gradle index 905e03a..eb353af 100644 --- a/integration-testing/build.gradle +++ b/integration-testing/build.gradle @@ -50,8 +50,12 @@ repositories { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 +} + +kotlin { + jvmToolchain(11) } dependencies { @@ -76,14 +80,4 @@ task mavenTest(type: Test) { def sourceSet = sourceSets.mavenTest testClassesDirs = sourceSet.output.classesDirs classpath = sourceSet.runtimeClasspath -} - -compileTestKotlin { - kotlinOptions.jvmTarget = "1.8" -} - -compileKotlin { - kotlinOptions { - jvmTarget = "1.8" - } }
\ No newline at end of file |