ApplicationServices.kt (1327B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 // These lines are generated by android-components/automation/application-services-nightly-bump.py 6 val VERSION = "148.0-TORBROWSER" 7 val CHANNEL = ApplicationServicesChannel.RELEASE 8 9 object ApplicationServicesConfig { 10 val version = VERSION 11 val channel = CHANNEL 12 val groupId = when (channel) { 13 ApplicationServicesChannel.RELEASE -> "org.mozilla.appservices" 14 ApplicationServicesChannel.STAGING -> "org.mozilla.appservices" 15 // Nightly channels use a different group id to keep the the packages separate 16 ApplicationServicesChannel.NIGHTLY -> "org.mozilla.appservices.nightly" 17 ApplicationServicesChannel.NIGHTLY_STAGING -> "org.mozilla.appservices.nightly" 18 } 19 } 20 21 /** 22 * Enum for GeckoView release channels. 23 * 24 * This determines which Maven Repository. Each channel is uploaded to a separate Maven repository. 25 */ 26 enum class ApplicationServicesChannel { 27 // Used for official, non-nightly, releases 28 RELEASE, 29 // Used for nightly releases 30 NIGHTLY, 31 // Used for preview releases for PRs 32 STAGING, 33 // Used for nightly releases 34 NIGHTLY_STAGING, 35 }