Skip to content

Commit

Permalink
apacheGH-485: (android) Change deprecated "compile" to "implementation"
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrivisser committed Sep 6, 2018
1 parent ebbd91f commit e3eb933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/templates/cordova/lib/builders/ProjectBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e3eb933

Please sign in to comment.