Skip to content

Instantly share code, notes, and snippets.

@nontravis
Created April 18, 2018 14:58
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 nontravis/017325a79b9f53192ed37f80b2f9cc71 to your computer and use it in GitHub Desktop.
Save nontravis/017325a79b9f53192ed37f80b2f9cc71 to your computer and use it in GitHub Desktop.
applyCommon.gradle
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply from: "$project.rootDir/tools/config.gradle"
android{
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
debug.java.srcDirs += 'src/debug/kotlin'
release.java.srcDirs += 'src/release/kotlin'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment