Skip to content

Instantly share code, notes, and snippets.

@BoxResin
Created October 14, 2018 13:11
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 BoxResin/ceb62621c90148c6125e3f03628004fc to your computer and use it in GitHub Desktop.
Save BoxResin/ceb62621c90148c6125e3f03628004fc to your computer and use it in GitHub Desktop.
Kotlin Library Startup
apply plugin: 'kotlin'
// 의존성
dependencies {
// 로컬 JAR
implementation fileTree(dir: 'libs', include: ['*.jar'])
// 코틀린
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
compileKotlin {
kotlinOptions.jvmTarget = '1.6'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.6'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment