Correct resource path for flavors in android-extensions-plugin
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ public class AndroidSubplugin : KotlinGradleSubplugin {
|
||||
|
||||
fun addVariant(sourceSet: AndroidSourceSet) {
|
||||
pluginOptions += SubpluginOption("variant", sourceSet.name + ';' +
|
||||
mainSourceSet.res.srcDirs.joinToString(";") { it.absolutePath })
|
||||
sourceSet.res.srcDirs.joinToString(";") { it.absolutePath })
|
||||
}
|
||||
|
||||
addVariant(mainSourceSet)
|
||||
|
||||
Reference in New Issue
Block a user