1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-25 16:11:05 +01:00
lighteco/buildSrc/src/main/kotlin/lighteco.base-logic.gradle.kts

26 lines
524 B
Text
Raw Normal View History

2023-07-30 17:04:46 +02:00
plugins {
`java-library`
`maven-publish`
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
withSourcesJar()
}
tasks {
processResources {
filesMatching(listOf("plugin.yml")) {
expand(
"name" to project.name,
"version" to project.version,
"description" to project.description,
"author" to "xHyroM"
)
}
}
compileJava {
options.encoding = Charsets.UTF_8.name()
}
}