Skip to content

Commit

Permalink
put back comma fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Plamen5kov committed Nov 26, 2015
1 parent b92ebf8 commit cd51a51
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/project-template-gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,11 @@ task createPluginsConfigFile {
println "\t+creating product flavors include.gradle file in $configurationsDir folder..."
def flavors = pluginNames.join(",")
if(appResExists) {
flavors = '"' + appResourcesName + '", ' + flavors
if (flavors == '') {
flavors = '"' + appResourcesName + '"'
} else {
flavors = '"' + appResourcesName + '", ' + flavors
}
}
flavorsFile << "android { \n"
flavorsFile << "\tflavorDimensions " + flavors + "\n"
Expand Down

0 comments on commit cd51a51

Please sign in to comment.