Created
June 26, 2017 06:09
-
-
Save linux-china/4778fcfe78c6324bfd642c028b300722 to your computer and use it in GitHub Desktop.
build.gradle for Kotlin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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