Skip to content

Instantly share code, notes, and snippets.

@pennya
Created October 18, 2018 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pennya/962dc2ae5cd3ba69897a40efbe7dff5f to your computer and use it in GitHub Desktop.
Save pennya/962dc2ae5cd3ba69897a40efbe7dff5f to your computer and use it in GitHub Desktop.
#New->Module->Java Library #kotlin console 실행 #Android Studio #build.gradle에 아래를 추가하면 실행 가능
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"
fun main(args: Array<String>) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment