diff --git a/bin/templates/project/app/build.gradle b/bin/templates/project/app/build.gradle index 27a2b83f..4830dd93 100644 --- a/bin/templates/project/app/build.gradle +++ b/bin/templates/project/app/build.gradle @@ -93,11 +93,16 @@ ext { // PLUGIN GRADLE EXTENSIONS START // PLUGIN GRADLE EXTENSIONS END -def hasBuildExtras = file('build-extras.gradle').exists() -if (hasBuildExtras) { +def hasBuildExtras1 = file('build-extras.gradle').exists() +if (hasBuildExtras1) { apply from: 'build-extras.gradle' } +def hasBuildExtras2 = file('../build-extras.gradle').exists() +if (hasBuildExtras2) { + apply from: '../build-extras.gradle' +} + // Set property defaults after extension .gradle files. if (ext.cdvCompileSdkVersion == null) { ext.cdvCompileSdkVersion = privateHelpers.getProjectTarget()