Closed
Bug 1506601
Opened 6 years ago
Closed 6 years ago
GeckoView requires android-support, but does not appear in maven pom
Categories
(GeckoView :: General, enhancement, P3)
GeckoView
General
Tracking
(geckoview64 wontfix, firefox65 fixed)
RESOLVED
FIXED
mozilla65
People
(Reporter: snorp, Assigned: agi)
References
Details
Attachments
(1 file)
GeckoView uses the android-support library, but this is not correctly communicated to applications. The Right Way appears to be for it to appear in the maven pom file, and then gradle will do its thing. Our pom file appears to be empty right now.
Reporter | ||
Comment 1•6 years ago
|
||
Nick, would you mind taking a look? It seems like this is supposed to be happening automatically, but it's not -- perhaps because of the "specialness" of our build?
Flags: needinfo?(nalexander)
Comment 2•6 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #1) > Nick, would you mind taking a look? It seems like this is supposed to be > happening automatically, but it's not -- perhaps because of the > "specialness" of our build? Sure. As it happens I was deep-diving into this for some application-services work. A little investigation shows that we're not really using any of the Maven publishing Gradle apparatus; we're kind-of rolling our own in https://searchfox.org/mozilla-central/rev/007b66c1f5f7a1b9a900a2038652a16a020f010c/mobile/android/geckoview/build.gradle#297-321 I'll think a little and suggest an alternative.
Flags: needinfo?(nalexander)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → agi
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 3•6 years ago
|
||
This adds GeckoView dependencies to the Maven pom file by iterating through the "implementation" dependencies and adding them manually to the pom XML. This workaround can be removed when issue [0] is fixed. This also moves the publishing from the old 'maven' plugin to the new 'maven-publishing' see also [1] and [2]. [0]: https://github.com/gradle/gradle/issues/1842 [1]: https://docs.gradle.org/current/userguide/maven_plugin.html [2]: https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven
Assignee | ||
Comment 4•6 years ago
|
||
One side benefit of the above is that now mavenLocal works out of the box! We can publish geckoview to a maven local repo by calling |./mach gradle geckoview:publishMainPublicationToMavenLocal|
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f1b7c5e6291e Add dependencies to GeckoView's pom file. r=nalexander
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f1b7c5e6291e
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Comment 7•6 years ago
|
||
64=wontfix because we don't need this maven pom fix for Focus 8.0.
status-geckoview64:
--- → wontfix
Updated•5 years ago
|
Product: Firefox for Android → GeckoView
Updated•5 years ago
|
Target Milestone: Firefox 65 → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•