CB-13602: We were setting the path wrong, this is hacky but it works

This commit is contained in:
Joe Bowser 2017-11-22 13:18:38 -08:00
parent d8f10c33dc
commit 9d9bac397b

View File

@ -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