mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
CB-13602: We were setting the path wrong, this is hacky but it works
This commit is contained in:
parent
d8f10c33dc
commit
9d9bac397b
@ -204,7 +204,7 @@ StudioBuilder.prototype.prepBuildFiles = function () {
|
|||||||
var includeList = '';
|
var includeList = '';
|
||||||
|
|
||||||
propertiesObj.gradleIncludes.forEach(function (includePath) {
|
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');
|
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
|
// This needs to be stored in the app gradle, not the root grade
|
||||||
|
Loading…
Reference in New Issue
Block a user