2023-11-28 09:10:03 +01:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
// These lines are generated by android-components/automation/application-services-nightly-bump.py
|
2024-04-14 13:13:18 +02:00
|
|
|
val VERSION = "124.0"
|
2023-11-28 09:10:03 +01:00
|
|
|
val CHANNEL = ApplicationServicesChannel.RELEASE
|
|
|
|
|
|
|
|
object ApplicationServicesConfig {
|
|
|
|
val version = VERSION
|
|
|
|
val channel = CHANNEL
|
|
|
|
val groupId = when (channel) {
|
|
|
|
ApplicationServicesChannel.RELEASE -> "org.mozilla.appservices"
|
|
|
|
ApplicationServicesChannel.STAGING -> "org.mozilla.appservices"
|
|
|
|
// Nightly channels use a different group id to keep the the packages separate
|
|
|
|
ApplicationServicesChannel.NIGHTLY -> "org.mozilla.appservices.nightly"
|
|
|
|
ApplicationServicesChannel.NIGHTLY_STAGING -> "org.mozilla.appservices.nightly"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for GeckoView release channels.
|
|
|
|
*
|
|
|
|
* This determines which Maven Repository. Each channel is uploaded to a separate Maven repository.
|
|
|
|
*/
|
|
|
|
enum class ApplicationServicesChannel {
|
|
|
|
// Used for official, non-nightly, releases
|
|
|
|
RELEASE,
|
|
|
|
// Used for nightly releases
|
|
|
|
NIGHTLY,
|
|
|
|
// Used for preview releases for PRs
|
|
|
|
STAGING,
|
|
|
|
// Used for nightly releases
|
|
|
|
NIGHTLY_STAGING,
|
|
|
|
}
|