28 lines
488 B
Text
28 lines
488 B
Text
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.build.paperweight)
|
|
implementation(libs.build.shadow)
|
|
implementation(libs.build.spotless)
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
kotlin {
|
|
target {
|
|
compilations.configureEach {
|
|
kotlinOptions {
|
|
jvmTarget = "21"
|
|
}
|
|
}
|
|
}
|
|
}
|