Created
October 18, 2018 08:12
-
-
Save pennya/962dc2ae5cd3ba69897a40efbe7dff5f to your computer and use it in GitHub Desktop.
#New->Module->Java Library #kotlin console 실행 #Android Studio #build.gradle에 아래를 추가하면 실행 가능
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
apply plugin: 'java-library' | |
apply plugin: 'kotlin' | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | |
runtimeClasspath files(compileKotlin.destinationDir) | |
} | |
sourceCompatibility = "1.8" | |
targetCompatibility = "1.8" |
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
fun main(args: Array<String>) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment