Closed Bug 1724782 Opened 4 years ago Closed 4 years ago

Confusing error when injecting an omni build into a lite dependency

Categories

(GeckoView :: General, defect)

Unspecified
All
defect

Tracking

(firefox93 fixed)

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: agi, Assigned: agi)

Details

Attachments

(1 file)

The default mozconfig will build an omni build, but Fenix still uses the lite build (which is the default dependency when depending on geckoview). This causes a confusing error when injecting your local build:

[substitute-local-geckoview] Substituting org.mozilla.geckoview:geckoview-nightly with local GeckoView org.mozilla.geckoview:geckoview-default in configuration ':app:debugRuntimeClasspath'

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find any matches for org.mozilla.geckoview:geckoview-default:+ as no versions of org.mozilla.geckoview:geckoview-default are available.
     Searched in the following locations:
       - https://nightly.maven.mozilla.org/maven2/org/mozilla/geckoview/geckoview-default/maven-metadata.xml
       - https://maven.mozilla.org/maven2/org/mozilla/geckoview/geckoview-default/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/mozilla/geckoview/geckoview-default/maven-metadata.xml
       - file:/Users/asferro/workspace/mozilla-central/objdir/gradle/build/mobile/android/geckoview/maven/org/mozilla/geckoview/geckoview-default/maven-metadata.xml
     Required by:
         project :app > org.mozilla.components:browser-engine-gecko:92.0.20210808143127

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
Assignee: nobody → agi
Status: NEW → ASSIGNED
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac3698b1f84f Allow substituting GeckoView lite and omni builds. r=nalexander
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: