Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9990

Plugin build extras is no longer working in 5.4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4.1
    • 5.0.0
    • Mac (El Capitan)

    Description

      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

      Attachments

        Activity

          People

            stevegill Steve Gill
            ross.cullen Ross Cullen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: