Last active
June 3, 2017 12:53
-
-
Save markusthoemmes/c96204b1e08a6653dcb6bab6f2c0e32f to your computer and use it in GitHub Desktop.
A gradle script to build Kotlin based projects.
This file contains hidden or 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.2-2' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
| } | |
| } | |
| apply plugin: 'java' | |
| apply plugin: 'kotlin' | |
| sourceCompatibility = 1.8 | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment