more prep for included-build Gradle plugins
This commit is contained in:
parent
bb973c7b9b
commit
cc6e559843
8 changed files with 77 additions and 63 deletions
|
|
@ -7,14 +7,20 @@ plugins {
|
|||
|
||||
val gradleJvmTarget = "11"
|
||||
|
||||
dependencies {
|
||||
// This project should only be providing simple plugins for configuring Gradle without
|
||||
// dependencies. Try to avoid setting dependencies here, else the Gradle script classpath might
|
||||
// get polluted and messy.
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain {
|
||||
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(gradleJvmTarget))
|
||||
}
|
||||
}
|
||||
|
||||
kotlinDslPluginOptions {
|
||||
jvmTarget.set(gradleJvmTarget)
|
||||
}
|
||||
kotlinDslPluginOptions {
|
||||
jvmTarget.set(gradleJvmTarget)
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue