Skip to content

Instantly share code, notes, and snippets.

@linux-china
Created June 26, 2017 06:09
Show Gist options
  • Save linux-china/4778fcfe78c6324bfd642c028b300722 to your computer and use it in GitHub Desktop.
Save linux-china/4778fcfe78c6324bfd642c028b300722 to your computer and use it in GitHub Desktop.
build.gradle for Kotlin
buildscript {
ext.kotlin_version = '1.1.3'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "kotlin"
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment