Skip to content

Commit

Permalink
Merge pull request apache#486 from jedrivisser/7.1.x
Browse files Browse the repository at this point in the history
apacheGH-485: (android) Replace deprecated "compile" with "implementation"
  • Loading branch information
dpogue authored Sep 26, 2018
2 parents 73edf4d + e3eb933 commit 8dfddef
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 @@ -193,7 +193,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 8dfddef

Please sign in to comment.