digitalsanctum
07/27/2018, 1:43 AMLucas
07/29/2018, 10:28 PMbuild.gradle.kts
script from the sample hello-kotlin
to below should work.
https://github.com/gradle/kotlin-dsl/tree/master/samples/hello-kotlin
buildscript {
repositories {
maven(url = "<https://dl.bintray.com/kotlin/kotlin-dev>")
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3-M1")
}
}
plugins {
application
}
apply {
plugin("kotlin")
}
application {
mainClassName = "samples.HelloWorldKt"
}
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3-M1")
}
repositories {
maven(url = "<https://dl.bintray.com/kotlin/kotlin-dev>")
mavenCentral()
}
digitalsanctum
07/30/2018, 2:42 PM