[ https://issues.apache.org/jira/browse/CB-9990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15058158#comment-15058158 ]
Ross Cullen commented on CB-9990: --------------------------------- Hi Steve, Updating the cordova-android version to 5.0.0 has fixed this problem. Many thanks, Ross > Plugin build extras is no longer working in 5.4.0 > ------------------------------------------------- > > Key: CB-9990 > URL: https://issues.apache.org/jira/browse/CB-9990 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Affects Versions: 5.4.1 > Environment: Mac (El Capitan) > Reporter: Ross Cullen > Assignee: Steve Gill > Labels: Android > Fix For: 5.0.0 > > > Following the "Extending build.gradle" guide: > https://cordova.apache.org/docs/en/edge/guide/platforms/android/tools.html > We have been using the build-extras.gradle functionality in our custom plugin > since 5.0.0 and it's been working great. With <framework src="some.gradle" > custom="true" type="gradleReference" /> in the plugin.xml. > It inserts the script into > // PLUGIN GRADLE EXTENSIONS START > apply from: "<plugin>/app-build-extras.gradle" > // PLUGIN GRADLE EXTENSIONS END > Upgrading to 5.4.0 and this functionality seems to be gone. > i.e. the above line is blank after a rebuild > // PLUGIN GRADLE EXTENSIONS START > // PLUGIN GRADLE EXTENSIONS END -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org