can someone give an example of how to use 1.3-M1 i...
# gradle
d
can someone give an example of how to use 1.3-M1 in a gradle build using kotlin dsl?
l
Changing the
build.gradle.kts
script from the sample
hello-kotlin
to below should work. https://github.com/gradle/kotlin-dsl/tree/master/samples/hello-kotlin
Copy code
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()
}
d
@Lucas thanks!
👍 1