Created
September 22, 2016 20:38
-
-
Save jtrindade/2533dbbdb5435e1022a8723193afd55d to your computer and use it in GitHub Desktop.
Kotlin Playground
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.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" | |
} |
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
// 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