Created
March 18, 2018 08:30
-
-
Save jitinsharma/14cd51c2899d5ed2fbd4d4503c3e6ed1 to your computer and use it in GitHub Desktop.
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
group 'io.github.jitinsharma' | |
version '1.0-SNAPSHOT' | |
buildscript { | |
ext.kotlin_version = '1.2.21' | |
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-jdk8:$kotlin_version" | |
} | |
compileKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} | |
compileTestKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment