mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 08:53:24 +08:00
GH-485: (android) Change deprecated "compile" to "implementation"
This commit is contained in:
parent
ebbd91f87d
commit
e3eb933182
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user