Skip to content

Commit e5ff35c

Browse files
author
plamen5kov
committed
fixed formatting issue#444
1 parent f40d561 commit e5ff35c

1 file changed

Lines changed: 22 additions & 16 deletions

File tree

build/project-template-gradle/build.gradle

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020

2121
import groovy.json.JsonSlurper //used to parse package.json
22-
22+
w
2323
buildscript {
2424
repositories {
2525
jcenter()
@@ -227,22 +227,26 @@ def createProductFlavorsContent(flavor, dimensionName, includeAndroidContent = t
227227
{
228228
if (includeAndroidContent)
229229
{
230-
def content = """android {
231-
productFlavors {
232-
"${flavor}" {
233-
dimension "${dimensionName}"
234-
}
235-
}
236-
}"""
230+
def content = """
231+
android {
232+
productFlavors {
233+
"${flavor}" {
234+
dimension "${dimensionName}"
235+
}
236+
}
237+
}
238+
"""
237239
return content;
238240
}
239241
else
240242
{
241-
def content = """productFlavors {
242-
"${flavor}" {
243-
dimension "${dimensionName}"
244-
}
245-
}"""
243+
def content = """
244+
productFlavors {
245+
"${flavor}" {
246+
dimension "${dimensionName}"
247+
}
248+
}
249+
"""
246250
return content;
247251
}
248252
}
@@ -383,9 +387,11 @@ task createPluginsConfigFile {
383387
println "\t Creating product flavors include.gradle file in $configurationsDir folder..."
384388
def flavors = flavorNames.join(", ")
385389

386-
def content = """android {
387-
flavorDimensions ${flavors}
388-
}"""
390+
def content = """
391+
android {
392+
flavorDimensions ${flavors}
393+
}
394+
"""
389395

390396
flavorsFile.text = content
391397
}

0 commit comments

Comments
 (0)