From 9d9bac397bfccc7c3421f61469ddeac362b016e4 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 22 Nov 2017 13:18:38 -0800 Subject: [PATCH] CB-13602: We were setting the path wrong, this is hacky but it works --- bin/templates/cordova/lib/builders/StudioBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/builders/StudioBuilder.js b/bin/templates/cordova/lib/builders/StudioBuilder.js index 7a618ec5..38923e14 100644 --- a/bin/templates/cordova/lib/builders/StudioBuilder.js +++ b/bin/templates/cordova/lib/builders/StudioBuilder.js @@ -204,7 +204,7 @@ StudioBuilder.prototype.prepBuildFiles = function () { var includeList = ''; propertiesObj.gradleIncludes.forEach(function (includePath) { - includeList += 'apply from: "' + includePath + '"\n'; + includeList += 'apply from: "../' + includePath + '"\n'; }); buildGradle = buildGradle.replace(/(PLUGIN GRADLE EXTENSIONS START)[\s\S]*(\/\/ PLUGIN GRADLE EXTENSIONS END)/, '$1\n' + includeList + '$2'); // This needs to be stored in the app gradle, not the root grade