mirror of
https://github.com/devproje/px32-bot.git
synced 2024-11-26 10:43:05 +00:00
31 lines
586 B
Text
31 lines
586 B
Text
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
id("com.gradleup.shadow") version "8.3.0"
|
||
|
}
|
||
|
|
||
|
group = rootProject.group
|
||
|
version = rootProject.version
|
||
|
|
||
|
tasks {
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
processResources {
|
||
|
filesMatching("default.properties") {
|
||
|
expand(project.properties)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
withType<JavaCompile> {
|
||
|
options.encoding = "UTF-8"
|
||
|
}
|
||
|
|
||
|
withType<KotlinCompile> {
|
||
|
compilerOptions {
|
||
|
jvmTarget.set(JvmTarget.JVM_21)
|
||
|
}
|
||
|
}
|
||
|
}
|