Skip to content

Instantly share code, notes, and snippets.

@jtrindade
Created September 22, 2016 20:38
Show Gist options
  • Save jtrindade/2533dbbdb5435e1022a8723193afd55d to your computer and use it in GitHub Desktop.
Save jtrindade/2533dbbdb5435e1022a8723193afd55d to your computer and use it in GitHub Desktop.
Kotlin Playground
buildscript {
ext.kotlin_version = '1.0.4'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'PlaygroundKt'
defaultTasks 'run'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile 'junit:junit:4.12'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
}
// place in src/main/kotlin
fun main(args: Array<String>) {
println("Hello, ISEL!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment