Skip to content

Commit

Permalink
Fix JVM toolchain version for smoke tests (#417)
Browse files Browse the repository at this point in the history
* Fix JVM toolchain version for smoke tests

* Enable toolchain provide plugin in smoke tests
  • Loading branch information
fzhinkin authored Nov 19, 2024
1 parent ad14063 commit 8250706
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions smoke-tests/src/test/resources/templates/jvm.build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ dependencies {
implementation("%DEPENDENCY%")
testImplementation(kotlin("test"))
}

kotlin {
jvmToolchain(8)
}
2 changes: 2 additions & 0 deletions smoke-tests/src/test/resources/templates/kmp.build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ repositories {

@OptIn(ExperimentalWasmDsl::class)
kotlin {
jvmToolchain(8)

jvm()
js(IR) {
browser {
Expand Down
4 changes: 4 additions & 0 deletions smoke-tests/src/test/resources/templates/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ pluginManagement {
gradlePluginPortal()
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
}

0 comments on commit 8250706

Please sign in to comment.