GH-485: (android) Change deprecated "compile" to "implementation"

This commit is contained in:
Jedri Visser 2018-09-06 19:24:12 +02:00
parent ebbd91f87d
commit e3eb933182

View File

@ -196,7 +196,7 @@ class ProjectBuilder {
throw new CordovaError('Unsupported system library (does not work with gradle): ' + p);
}
}
depsList += ' compile "' + mavenRef + '"\n';
depsList += ' implementation "' + mavenRef + '"\n';
});
buildGradle = buildGradle.replace(/(SUB-PROJECT DEPENDENCIES START)[\s\S]*(\/\/ SUB-PROJECT DEPENDENCIES END)/, '$1\n' + depsList + ' $2');