Skip to content

Commit 8250706

Browse files
authored
Fix JVM toolchain version for smoke tests (#417)
* Fix JVM toolchain version for smoke tests * Enable toolchain provide plugin in smoke tests
1 parent ad14063 commit 8250706

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

smoke-tests/src/test/resources/templates/jvm.build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ dependencies {
2424
implementation("%DEPENDENCY%")
2525
testImplementation(kotlin("test"))
2626
}
27+
28+
kotlin {
29+
jvmToolchain(8)
30+
}

smoke-tests/src/test/resources/templates/kmp.build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ repositories {
2525

2626
@OptIn(ExperimentalWasmDsl::class)
2727
kotlin {
28+
jvmToolchain(8)
29+
2830
jvm()
2931
js(IR) {
3032
browser {

smoke-tests/src/test/resources/templates/settings.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ pluginManagement {
1010
gradlePluginPortal()
1111
}
1212
}
13+
14+
plugins {
15+
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
16+
}

0 commit comments

Comments
 (0)