2019-06-06 08:26:57 +02:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2019-07-10 22:13:41 +02:00
|
|
|
kotlin("jvm") version "1.3.41"
|
2019-08-26 09:17:22 +02:00
|
|
|
application
|
2019-06-06 08:26:57 +02:00
|
|
|
}
|
|
|
|
|
2019-07-11 02:07:37 +02:00
|
|
|
applyCommonConfiguration()
|
|
|
|
|
2019-06-06 08:26:57 +02:00
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
2019-08-26 09:17:22 +02:00
|
|
|
application.mainClassName = "com.sk89q.worldedit.internal.util.DocumentationPrinter"
|
|
|
|
tasks.named<JavaExec>("run") {
|
|
|
|
workingDir = rootProject.projectDir
|
|
|
|
}
|
|
|
|
|
2019-06-06 08:26:57 +02:00
|
|
|
dependencies {
|
|
|
|
"implementation"(project(":worldedit-libs:core:ap"))
|
|
|
|
"implementation"(project(":worldedit-core"))
|
|
|
|
"implementation"(kotlin("stdlib-jdk8"))
|
2019-08-14 05:06:15 +02:00
|
|
|
"implementation"(kotlin("reflect"))
|
2019-06-06 08:26:57 +02:00
|
|
|
}
|