Skip to content

Instantly share code, notes, and snippets.

@lajunta
Created June 27, 2017 08:33
Show Gist options
  • Save lajunta/2e13fc1e0738d827567eb1de79eaa1d8 to your computer and use it in GitHub Desktop.
Save lajunta/2e13fc1e0738d827567eb1de79eaa1d8 to your computer and use it in GitHub Desktop.
buildscript {
ext.kotlin_version = '1.1.2-5'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'HelloKt'
//defaultTasks 'run'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile 'junit:junit:4.11'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
}
task wrapper(type: Wrapper) {
gradleVersion = "2.10"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment