forked from mozilla-mobile/firefox-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApplicationServices.kt
35 lines (32 loc) · 1.3 KB
/
ApplicationServices.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* 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
val VERSION = "120.20231014050328"
val CHANNEL = ApplicationServicesChannel.NIGHTLY
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,
}