4e91f1c607
Needed for support latest syntax of Gradle dsl for js
25 lines
557 B
Groovy
Vendored
25 lines
557 B
Groovy
Vendored
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id 'org.jetbrains.kotlin.jvm' version 'KOTLIN_VERSION'
|
|
id 'application'
|
|
}
|
|
group = 'me.user'
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://dl.bintray.com/kotlin/kotlin-dev'
|
|
}
|
|
}
|
|
dependencies {
|
|
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit'
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
|
|
}
|
|
tasks.withType(KotlinCompile) {
|
|
kotlinOptions.jvmTarget = '1.8'
|
|
}
|
|
application {
|
|
mainClassName = 'MainKt'
|
|
} |