2019-06-06 06:26:57 +00:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2023-06-04 10:34:03 +00:00
|
|
|
kotlin("jvm") version "1.8.20"
|
2019-08-26 07:17:22 +00:00
|
|
|
application
|
2019-06-06 06:26:57 +00:00
|
|
|
}
|
|
|
|
|
2019-07-11 00:07:37 +00:00
|
|
|
applyCommonConfiguration()
|
|
|
|
|
2019-06-06 06:26:57 +00:00
|
|
|
tasks.withType<KotlinCompile> {
|
2023-06-04 10:34:03 +00:00
|
|
|
kotlinOptions.jvmTarget = "17"
|
2019-06-06 06:26:57 +00:00
|
|
|
}
|
|
|
|
|
2021-01-25 10:14:09 +00:00
|
|
|
application.mainClass.set("com.sk89q.worldedit.internal.util.DocumentationPrinter")
|
2019-08-26 07:17:22 +00:00
|
|
|
tasks.named<JavaExec>("run") {
|
|
|
|
workingDir = rootProject.projectDir
|
|
|
|
}
|
|
|
|
|
2019-06-06 06:26:57 +00:00
|
|
|
dependencies {
|
|
|
|
"implementation"(project(":worldedit-libs:core:ap"))
|
|
|
|
"implementation"(project(":worldedit-core"))
|
|
|
|
"implementation"(kotlin("stdlib-jdk8"))
|
2019-08-14 03:06:15 +00:00
|
|
|
"implementation"(kotlin("reflect"))
|
2021-01-25 10:14:09 +00:00
|
|
|
"implementation"("com.google.guava:guava")
|
2019-06-06 06:26:57 +00:00
|
|
|
}
|