Skip to content

Commit

Permalink
gradle 8.x no longer downloads jdks automatically, add resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Jun 4, 2023
1 parent 8690f86 commit 99044cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,5 @@ kotlin {
implementation(prefixedProject("specs"))
}
}

configureEach {
languageSettings.apply {
languageVersion = "1.3"
apiVersion = "1.3"
}
}
}
}
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ plugins {
id("ch.tutteli.gradle.plugins.kotlin.module.info") version tutteliGradleVersion apply false

id("ch.tutteli.gradle.plugins.spek") version tutteliGradleVersion apply false
// to download jdk for toolchain, see https://docs.gradle.org/current/userguide/toolchains.html#sub:download_repositories
}

repositories {
Expand Down
6 changes: 6 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pluginManagement {
gradlePluginPortal()
}
}
plugins {
if (System.getenv("CI").toBoolean()) {
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.4.0")
}
}


rootProject.name = "atrium"

Expand Down

0 comments on commit 99044cc

Please sign in to comment.