2019-06-06 06:26:57 +00:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2019-07-10 20:13:41 +00:00
|
|
|
kotlin("jvm") version "1.3.41"
|
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> {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
2019-08-26 07:17:22 +00:00
|
|
|
application.mainClassName = "com.sk89q.worldedit.internal.util.DocumentationPrinter"
|
|
|
|
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"))
|
2019-06-06 06:26:57 +00:00
|
|
|
}
|