27 lines
419 B
Kotlin
27 lines
419 B
Kotlin
import java.util.*
|
|
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
val properties = Properties().also { props ->
|
|
project.projectDir.resolveSibling("gradle.properties").bufferedReader().use {
|
|
props.load(it)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(gradleApi())
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain {
|
|
this.languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
}
|