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

Linking from the plugin files with gradle no longer an option (bug)?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-lib
    • None

    Description

      Hi,

      Okay, so I am reading this (
      https://cordova.apache.org/docs/en/edge/plugin_ref_spec.md.html#Plugin%20Specification) again today (still very incomplete – does not define all options or what type="GradleReference" means, etc.), I am still struggling to understand if there is an actual way to link java files from within the plugin, as opposed having to export them into a custom library within "platforms/android/". Is that method gone now for gradle?

      For reference, here is what I am doing:

      <framework src="android-sdk/extras/google/play_apk_expansion/downloader_library" custom="true"/>
      <framework src="android-sdk/extras/google/play_licensing/library" custom="true" />

      ... in:
      https://github.com/agamemnus/cordova-plugin-xapkreader/tree/cordova-5.3.1

      Attachments

        Activity

          People

            Unassigned Unassigned
            agamemnus Michael Romanovsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: