2023-02-11 23:48:36 +01:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
|
|
|
|
2024-01-07 03:04:18 +01:00
|
|
|
dependencies {
|
|
|
|
implementation(libs.build.paperweight)
|
|
|
|
implementation(libs.build.shadow)
|
|
|
|
implementation(libs.build.spotless)
|
2023-02-11 23:48:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-01-07 03:04:18 +01:00
|
|
|
compileOnly(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
2024-11-22 13:13:08 +01:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
|
|
targetCompatibility = JavaVersion.VERSION_21
|
2024-01-07 03:04:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
target {
|
|
|
|
compilations.configureEach {
|
|
|
|
kotlinOptions {
|
2024-11-22 13:13:08 +01:00
|
|
|
jvmTarget = "21"
|
2024-01-07 03:04:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-11 23:48:36 +01:00
|
|
|
}
|