Created
November 7, 2017 13:36
-
-
Save danielgallegovico/44208ec8dccc9ef9cfdfa4526e366e2d to your computer and use it in GitHub Desktop.
Kotlin source folder support
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
android { | |
... | |
// Add Kotlin folders inside flavor/build type specific folders as source files | |
sourceSets.all { | |
java.srcDirs += "src/${name}/kotlin" | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment