2019-06-06 06:26:57 +00:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2021-11-30 11:35:34 +00:00
|
|
|
kotlin("jvm") version "1.5.30"
|
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> {
|
2021-05-14 21:42:37 +00:00
|
|
|
kotlinOptions.jvmTarget = "11"
|
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
|
|
|
}
|