Centralize Maven repository configuration
Categories
(Firefox Build System :: Android Studio and Gradle Integration, task)
Tracking
(firefox149 fixed)
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
| Assignee | ||
Comment 1•10 months ago
|
||
Comment 2•6 months ago
|
||
Comment on attachment 9507969 [details]
Bug 1983934 - Centralize Maven repository configuration via dependencyResolutionManagement in SettingsPlugin r?nalexander
Revision D261617 was moved to bug 2007013. Setting attachment 9507969 [details] to obsolete.
| Assignee | ||
Comment 3•5 months ago
|
||
Updated•5 months ago
|
Updated•5 months ago
|
Comment 5•5 months ago
|
||
| bugherder | ||
Comment 6•4 months ago
|
||
This breaks app-services auto-publish for me.
I see a bunch of warnings like this:
> Configure project :components:feature-fxsuggest
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by plugin 'com.jetbrains.python.envs'
Followed by a bunch of errors like this:
> Configure project :geckoview
GeckoView version = 150.0.20260224112257-SNAPSHOT
[gradle:error]: > Could not determine the dependencies of task ':fenix:compileDebugJavaWithJavac'.
[gradle:error]: > > Could not determine the dependencies of task ':fenix:compileDebugJavaWithJavac'.
[gradle:error]: > > Could not resolve all dependencies for configuration ':fenix:debugCompileClasspath'.
[gradle:error]: > > Could not resolve all dependencies for configuration ':fenix:debugCompileClasspath'.
[gradle:error]: > > Could not find any version that matches org.mozilla.appservices:syncmanager:0.0.1-SNAPSHOT-+.
[gradle:error]: > Versions that do not match:
[gradle:error]: > - 63.0.0
[gradle:error]: > - 62.1.0
[gradle:error]: > - 62.0.0
[gradle:error]: > - 61.0.13
[gradle:error]: > - 61.0.12
[gradle:error]: > - + 53 more
[gradle:error]: > Required by:
[gradle:error]: > project ':fenix'
[gradle:error]: >
Is there any extra configuration I can add to avoid this issue? If not, what changes are needed to make this work again?
Comment 7•4 months ago
|
||
Adding mavenLocal() to the repositories section in SettingsPlugin.kt fixes things for me, so I can unblock myself for the short term. Long-term, maybe there's a way to make that conditional on the localProperties.autoPublish.application-services.dir property?
Description
•