Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support using maven GV from the release channel #882

Merged
merged 2 commits into from Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -643,13 +643,13 @@ dependencies {
spacesImplementation fileTree(dir: "${project.rootDir}/third_party/spaces", include: ['*.aar'])

// gecko
def branch = "nightly" // "nightly" or "beta"
def branch = "release" // "release", "nightly" or "beta"
geckoImplementation deps.gecko_view."${branch}_x86_64"
geckoImplementation deps.gecko_view."${branch}_arm64"
configurations.all {
resolutionStrategy.capabilitiesResolution.withCapability('org.mozilla.geckoview:geckoview') {
def abi = getName().toLowerCase().contains('x64') ? 'x86_64' : 'arm64'
def candidate = "geckoview-${branch}-${abi}"
def candidate = branch == "release" ? "geckoview-${abi}" : "geckoview-${branch}-${abi}"
select(candidates.find { it.id.module.contains(candidate) })
}
}
Expand Down
1 change: 1 addition & 0 deletions versions.gradle
Expand Up @@ -24,6 +24,7 @@ ext.deps = [:]
def versions = [:]
// GeckoView versions can be found here:
// https://maven.mozilla.org/?prefix=maven2/org/mozilla/geckoview/
versions.gecko_view_release = "115.0.20230710165010"
svillar marked this conversation as resolved.
Show resolved Hide resolved
versions.gecko_view_nightly = "105.0.20220822095220"
versions.gecko_view_beta = "104.0.20220816121120"
versions.android_components = "105.0.8"
Expand Down