Skip to content

Commit 4fd65c4

Browse files
committed
Merge pull request #294 from NativeScript/vladimirov/fix-build-gradle-plugins
Fix include.gradle file generation
2 parents edbddfa + 00405ad commit 4fd65c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/project-template-gradle/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,10 @@ task createDefaultIncludeFiles {
222222
def dimensionName = sanatizeDimensionName(fileName)
223223
createPluginConfigFile = true
224224
def foundIncludeFile = false
225-
225+
def isAppResDir = false
226226
if(fileName == appResourcesName) {
227227
appResExists = true
228+
isAppResDir = true
228229
}
229230

230231
println "\t+found plugins: " + fileName
@@ -236,7 +237,7 @@ task createDefaultIncludeFiles {
236237
}
237238
}
238239

239-
if(!appResExists) {
240+
if(!isAppResDir) {
240241
pluginNames.add('"' + dimensionName + '"')
241242
}
242243

0 commit comments

Comments
 (0)