mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-16 08:21:04 +08:00
eslint fix
This commit is contained in:
parent
18d6884522
commit
f54336eb61
@ -159,7 +159,6 @@ StudioBuilder.prototype.prepBuildFiles = function () {
|
||||
var root = this.root;
|
||||
var insertExclude = function (p) {
|
||||
var gradlePath = path.join(root, p, 'build.gradle');
|
||||
console.log("Gradle path for writing:" + gradlePath);
|
||||
var projectGradleFile = fs.readFileSync(gradlePath, 'utf-8');
|
||||
if (projectGradleFile.indexOf('CordovaLib') !== -1) {
|
||||
depsList += '{\n exclude module:("CordovaLib")\n }\n';
|
||||
@ -204,7 +203,6 @@ StudioBuilder.prototype.prepBuildFiles = function () {
|
||||
buildGradle = buildGradle.replace(/(SUB-PROJECT DEPENDENCIES START)[\s\S]*(\/\/ SUB-PROJECT DEPENDENCIES END)/, '$1\n' + depsList + ' $2');
|
||||
var includeList = '';
|
||||
|
||||
|
||||
propertiesObj.gradleIncludes.forEach(function (includePath) {
|
||||
includeList += 'apply from: "' + includePath + '"\n';
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user