Skip to content

Commit cd51a51

Browse files
committed
put back comma fix
1 parent b92ebf8 commit cd51a51

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/project-template-gradle/build.gradle

+5-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,11 @@ task createPluginsConfigFile {
260260
println "\t+creating product flavors include.gradle file in $configurationsDir folder..."
261261
def flavors = pluginNames.join(",")
262262
if(appResExists) {
263-
flavors = '"' + appResourcesName + '", ' + flavors
263+
if (flavors == '') {
264+
flavors = '"' + appResourcesName + '"'
265+
} else {
266+
flavors = '"' + appResourcesName + '", ' + flavors
267+
}
264268
}
265269
flavorsFile << "android { \n"
266270
flavorsFile << "\tflavorDimensions " + flavors + "\n"

0 commit comments

Comments
 (0)