2019-01-07 21:47:47 +00: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/. */
|
|
|
|
|
2019-07-16 09:58:07 +00:00
|
|
|
object Versions {
|
2020-07-16 01:02:58 +00:00
|
|
|
const val kotlin = "1.3.72"
|
2019-12-13 19:29:27 +00:00
|
|
|
const val coroutines = "1.3.3"
|
2019-08-21 16:18:57 +00:00
|
|
|
const val android_gradle_plugin = "3.5.0"
|
2019-01-29 16:42:10 +00:00
|
|
|
const val sentry = "1.7.10"
|
2020-07-06 14:35:33 +00:00
|
|
|
const val leakcanary = "2.4"
|
2020-05-22 15:17:42 +00:00
|
|
|
const val leanplum = "5.4.0"
|
2019-08-07 16:37:56 +00:00
|
|
|
const val osslicenses_plugin = "0.9.5"
|
2020-07-20 22:09:58 +00:00
|
|
|
const val detekt = "1.9.1"
|
2019-01-07 20:23:30 +00:00
|
|
|
|
2020-05-16 04:29:25 +00:00
|
|
|
const val androidx_appcompat = "1.2.0-rc01"
|
2020-10-01 21:13:46 +00:00
|
|
|
const val androidx_biometric = "1.1.0-beta01"
|
2020-02-06 13:00:55 +00:00
|
|
|
const val androidx_coordinator_layout = "1.1.0-rc01"
|
2020-09-23 21:57:52 +00:00
|
|
|
const val androidx_constraint_layout = "2.0.0"
|
2019-09-16 22:30:28 +00:00
|
|
|
const val androidx_preference = "1.1.0"
|
2019-02-01 14:26:58 +00:00
|
|
|
const val androidx_legacy = "1.0.0"
|
2019-06-05 19:33:42 +00:00
|
|
|
const val androidx_annotation = "1.1.0"
|
2020-02-06 13:00:55 +00:00
|
|
|
const val androidx_lifecycle = "2.2.0"
|
2020-06-11 20:04:25 +00:00
|
|
|
const val androidx_fragment = "1.2.5"
|
2020-07-06 14:35:33 +00:00
|
|
|
const val androidx_navigation = "2.3.0"
|
2020-10-01 21:13:46 +00:00
|
|
|
const val androidx_recyclerview = "1.2.0-alpha06"
|
|
|
|
const val androidx_core = "1.3.2"
|
2019-07-24 21:37:10 +00:00
|
|
|
const val androidx_paging = "2.1.0"
|
2020-02-06 13:00:55 +00:00
|
|
|
const val androidx_transition = "1.3.0"
|
2019-10-09 18:15:29 +00:00
|
|
|
const val androidx_work = "2.2.0"
|
2020-02-06 13:00:55 +00:00
|
|
|
const val google_material = "1.1.0"
|
2019-01-07 20:23:30 +00:00
|
|
|
|
2020-03-13 14:39:55 +00:00
|
|
|
const val mozilla_android_components = AndroidComponents.VERSION
|
2019-01-10 00:07:33 +00:00
|
|
|
|
2019-10-29 17:09:07 +00:00
|
|
|
const val adjust = "4.18.3"
|
2019-02-28 17:12:47 +00:00
|
|
|
const val installreferrer = "1.0"
|
2019-02-20 02:10:17 +00:00
|
|
|
|
2019-12-31 16:46:22 +00:00
|
|
|
const val junit = "5.5.2"
|
2020-05-29 00:43:33 +00:00
|
|
|
const val mockk = "1.10.0"
|
2019-04-10 16:59:38 +00:00
|
|
|
|
2019-07-05 17:38:09 +00:00
|
|
|
const val mockwebserver = "3.11.0"
|
2019-08-23 20:37:52 +00:00
|
|
|
const val uiautomator = "2.2.0"
|
2019-05-03 14:40:22 +00:00
|
|
|
|
|
|
|
const val google_ads_id_version = "16.0.0"
|
2019-09-10 20:29:21 +00:00
|
|
|
|
2020-08-24 19:34:27 +00:00
|
|
|
const val google_play_store_version = "1.8.0"
|
|
|
|
|
2020-07-06 14:35:33 +00:00
|
|
|
const val airbnb_lottie = "3.4.0"
|
2019-01-07 20:23:30 +00:00
|
|
|
}
|
|
|
|
|
2019-01-07 21:47:47 +00:00
|
|
|
@Suppress("unused")
|
2019-01-07 20:23:30 +00:00
|
|
|
object Deps {
|
2019-01-07 21:47:47 +00:00
|
|
|
const val tools_androidgradle = "com.android.tools.build:gradle:${Versions.android_gradle_plugin}"
|
|
|
|
const val tools_kotlingradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
|
2019-01-07 20:23:30 +00:00
|
|
|
const val kotlin_stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlin}"
|
2019-04-11 17:34:27 +00:00
|
|
|
const val kotlin_coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.coroutines}"
|
2019-09-04 20:27:30 +00:00
|
|
|
const val kotlin_coroutines_test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.coroutines}"
|
2019-05-13 20:50:42 +00:00
|
|
|
const val kotlin_coroutines_android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.coroutines}"
|
2019-01-07 20:23:30 +00:00
|
|
|
|
2019-03-15 16:26:07 +00:00
|
|
|
const val allopen = "org.jetbrains.kotlin:kotlin-allopen:${Versions.kotlin}"
|
2019-08-07 16:37:56 +00:00
|
|
|
const val osslicenses_plugin = "com.google.android.gms:oss-licenses-plugin:${Versions.osslicenses_plugin}"
|
2019-02-20 02:10:17 +00:00
|
|
|
|
2020-10-06 21:07:24 +00:00
|
|
|
const val mozilla_concept_base = "org.mozilla.components:concept-base:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_concept_engine = "org.mozilla.components:concept-engine:${Versions.mozilla_android_components}"
|
2020-07-25 22:23:27 +00:00
|
|
|
const val mozilla_concept_menu = "org.mozilla.components:concept-menu:${Versions.mozilla_android_components}"
|
2019-07-12 22:21:02 +00:00
|
|
|
const val mozilla_concept_push = "org.mozilla.components:concept-push:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_concept_tabstray = "org.mozilla.components:concept-tabstray:${Versions.mozilla_android_components}"
|
|
|
|
const val mozilla_concept_toolbar = "org.mozilla.components:concept-toolbar:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_concept_storage = "org.mozilla.components:concept-storage:${Versions.mozilla_android_components}"
|
2019-03-13 18:23:00 +00:00
|
|
|
const val mozilla_concept_sync = "org.mozilla.components:concept-sync:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
|
2019-01-10 00:07:33 +00:00
|
|
|
const val mozilla_browser_awesomebar = "org.mozilla.components:browser-awesomebar:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_browser_engine_gecko_nightly = "org.mozilla.components:browser-engine-gecko-nightly:${Versions.mozilla_android_components}"
|
2019-03-22 12:43:22 +00:00
|
|
|
const val mozilla_browser_engine_gecko_beta = "org.mozilla.components:browser-engine-gecko-beta:${Versions.mozilla_android_components}"
|
2019-07-12 09:31:32 +00:00
|
|
|
const val mozilla_browser_engine_gecko_release = "org.mozilla.components:browser-engine-gecko:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_browser_domains = "org.mozilla.components:browser-domains:${Versions.mozilla_android_components}"
|
2019-02-28 20:46:39 +00:00
|
|
|
const val mozilla_browser_icons = "org.mozilla.components:browser-icons:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_browser_search = "org.mozilla.components:browser-search:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_browser_session = "org.mozilla.components:browser-session:${Versions.mozilla_android_components}"
|
2019-08-30 16:56:22 +00:00
|
|
|
const val mozilla_browser_state = "org.mozilla.components:browser-state:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_browser_tabstray = "org.mozilla.components:browser-tabstray:${Versions.mozilla_android_components}"
|
2020-05-29 01:14:56 +00:00
|
|
|
const val mozilla_browser_thumbnails = "org.mozilla.components:browser-thumbnails:${Versions.mozilla_android_components}"
|
2019-01-10 00:07:33 +00:00
|
|
|
const val mozilla_browser_toolbar = "org.mozilla.components:browser-toolbar:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_browser_menu = "org.mozilla.components:browser-menu:${Versions.mozilla_android_components}"
|
2020-07-25 22:23:27 +00:00
|
|
|
const val mozilla_browser_menu2 = "org.mozilla.components:browser-menu2:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_browser_errorpages = "org.mozilla.components:browser-errorpages:${Versions.mozilla_android_components}"
|
|
|
|
const val mozilla_browser_storage_sync = "org.mozilla.components:browser-storage-sync:${Versions.mozilla_android_components}"
|
2019-01-10 00:07:33 +00:00
|
|
|
|
2020-02-04 06:41:52 +00:00
|
|
|
const val mozilla_feature_addons = "org.mozilla.components:feature-addons:${Versions.mozilla_android_components}"
|
|
|
|
const val mozilla_support_extensions = "org.mozilla.components:support-webextensions:${Versions.mozilla_android_components}"
|
|
|
|
|
2019-02-15 22:44:43 +00:00
|
|
|
const val mozilla_feature_accounts = "org.mozilla.components:feature-accounts:${Versions.mozilla_android_components}"
|
2019-05-31 15:08:13 +00:00
|
|
|
const val mozilla_feature_app_links = "org.mozilla.components:feature-app-links:${Versions.mozilla_android_components}"
|
2019-01-24 20:10:16 +00:00
|
|
|
const val mozilla_feature_awesomebar = "org.mozilla.components:feature-awesomebar:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_feature_contextmenu = "org.mozilla.components:feature-contextmenu:${Versions.mozilla_android_components}"
|
|
|
|
const val mozilla_feature_customtabs = "org.mozilla.components:feature-customtabs:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_feature_intent = "org.mozilla.components:feature-intent:${Versions.mozilla_android_components}"
|
2019-06-05 13:02:47 +00:00
|
|
|
const val mozilla_feature_media = "org.mozilla.components:feature-media:${Versions.mozilla_android_components}"
|
2019-04-19 21:12:42 +00:00
|
|
|
const val mozilla_feature_qr = "org.mozilla.components:feature-qr:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_feature_search = "org.mozilla.components:feature-search:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_feature_session = "org.mozilla.components:feature-session:${Versions.mozilla_android_components}"
|
2020-05-26 20:25:52 +00:00
|
|
|
const val mozilla_feature_syncedtabs = "org.mozilla.components:feature-syncedtabs:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_feature_tabs = "org.mozilla.components:feature-tabs:${Versions.mozilla_android_components}"
|
|
|
|
const val mozilla_feature_downloads = "org.mozilla.components:feature-downloads:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
const val mozilla_feature_storage = "org.mozilla.components:feature-storage:${Versions.mozilla_android_components}"
|
2019-01-23 22:48:15 +00:00
|
|
|
const val mozilla_feature_prompts = "org.mozilla.components:feature-prompts:${Versions.mozilla_android_components}"
|
2019-07-12 22:21:02 +00:00
|
|
|
const val mozilla_feature_push = "org.mozilla.components:feature-push:${Versions.mozilla_android_components}"
|
2020-06-23 00:38:58 +00:00
|
|
|
const val mozilla_feature_privatemode = "org.mozilla.components:feature-privatemode:${Versions.mozilla_android_components}"
|
2019-08-29 19:45:11 +00:00
|
|
|
const val mozilla_feature_pwa = "org.mozilla.components:feature-pwa:${Versions.mozilla_android_components}"
|
2019-01-23 21:39:53 +00:00
|
|
|
const val mozilla_feature_toolbar = "org.mozilla.components:feature-toolbar:${Versions.mozilla_android_components}"
|
2019-02-02 05:03:04 +00:00
|
|
|
const val mozilla_feature_findinpage = "org.mozilla.components:feature-findinpage:${Versions.mozilla_android_components}"
|
2020-07-02 02:37:03 +00:00
|
|
|
const val mozilla_feature_logins = "org.mozilla.components:feature-logins:${Versions.mozilla_android_components}"
|
2019-02-28 21:10:52 +00:00
|
|
|
const val mozilla_feature_site_permissions = "org.mozilla.components:feature-sitepermissions:${Versions.mozilla_android_components}"
|
2019-05-03 21:01:45 +00:00
|
|
|
const val mozilla_feature_readerview = "org.mozilla.components:feature-readerview:${Versions.mozilla_android_components}"
|
2019-05-16 21:02:24 +00:00
|
|
|
const val mozilla_feature_tab_collections = "org.mozilla.components:feature-tab-collections:${Versions.mozilla_android_components}"
|
2020-08-29 19:24:45 +00:00
|
|
|
const val mozilla_feature_recentlyclosed = "org.mozilla.components:feature-recentlyclosed:${Versions.mozilla_android_components}"
|
2019-12-13 19:24:42 +00:00
|
|
|
const val mozilla_feature_accounts_push = "org.mozilla.components:feature-accounts-push:${Versions.mozilla_android_components}"
|
2019-12-30 16:05:40 +00:00
|
|
|
const val mozilla_feature_top_sites = "org.mozilla.components:feature-top-sites:${Versions.mozilla_android_components}"
|
2019-11-26 15:39:54 +00:00
|
|
|
const val mozilla_feature_share = "org.mozilla.components:feature-share:${Versions.mozilla_android_components}"
|
2019-09-19 18:36:22 +00:00
|
|
|
const val mozilla_feature_webcompat = "org.mozilla.components:feature-webcompat:${Versions.mozilla_android_components}"
|
2019-11-06 21:46:52 +00:00
|
|
|
const val mozilla_feature_webnotifications = "org.mozilla.components:feature-webnotifications:${Versions.mozilla_android_components}"
|
2020-06-03 18:50:58 +00:00
|
|
|
const val mozilla_feature_webcompat_reporter = "org.mozilla.components:feature-webcompat-reporter:${Versions.mozilla_android_components}"
|
2019-01-18 23:33:40 +00:00
|
|
|
|
2020-06-24 16:55:22 +00:00
|
|
|
const val mozilla_service_digitalassetlinks =
|
|
|
|
"org.mozilla.components:service-digitalassetlinks:${Versions.mozilla_android_components}"
|
2020-05-28 16:37:45 +00:00
|
|
|
const val mozilla_service_experiments =
|
|
|
|
"org.mozilla.components:service-experiments:${Versions.mozilla_android_components}"
|
2019-10-24 16:29:41 +00:00
|
|
|
const val mozilla_service_sync_logins =
|
|
|
|
"org.mozilla.components:service-sync-logins:${Versions.mozilla_android_components}"
|
2019-02-15 22:44:43 +00:00
|
|
|
const val mozilla_service_firefox_accounts = "org.mozilla.components:service-firefox-accounts:${Versions.mozilla_android_components}"
|
2019-01-31 16:27:36 +00:00
|
|
|
const val mozilla_service_glean = "org.mozilla.components:service-glean:${Versions.mozilla_android_components}"
|
2020-01-16 21:12:54 +00:00
|
|
|
const val mozilla_service_location = "org.mozilla.components:service-location:${Versions.mozilla_android_components}"
|
2019-01-29 19:20:29 +00:00
|
|
|
|
2019-02-05 21:52:04 +00:00
|
|
|
const val mozilla_ui_colors = "org.mozilla.components:ui-colors:${Versions.mozilla_android_components}"
|
|
|
|
const val mozilla_ui_icons = "org.mozilla.components:ui-icons:${Versions.mozilla_android_components}"
|
2020-07-30 18:21:17 +00:00
|
|
|
const val mozilla_ui_widgets = "org.mozilla.components:ui-widgets:${Versions.mozilla_android_components}"
|
2019-02-05 21:52:04 +00:00
|
|
|
|
2019-01-29 16:42:10 +00:00
|
|
|
const val mozilla_lib_crash = "org.mozilla.components:lib-crash:${Versions.mozilla_android_components}"
|
2019-07-12 22:21:02 +00:00
|
|
|
const val mozilla_lib_push_firebase = "org.mozilla.components:lib-push-firebase:${Versions.mozilla_android_components}"
|
2019-11-04 22:02:16 +00:00
|
|
|
const val mozilla_lib_dataprotect = "org.mozilla.components:lib-dataprotect:${Versions.mozilla_android_components}"
|
2019-07-12 22:21:02 +00:00
|
|
|
|
2020-08-02 21:23:39 +00:00
|
|
|
const val mozilla_lib_publicsuffixlist = "org.mozilla.components:lib-publicsuffixlist:${Versions.mozilla_android_components}"
|
2019-01-29 16:42:10 +00:00
|
|
|
|
2019-02-01 14:26:58 +00:00
|
|
|
const val mozilla_support_base = "org.mozilla.components:support-base:${Versions.mozilla_android_components}"
|
2020-06-12 08:29:24 +00:00
|
|
|
const val mozilla_support_images = "org.mozilla.components:support-images:${Versions.mozilla_android_components}"
|
2019-01-23 16:13:05 +00:00
|
|
|
const val mozilla_support_ktx = "org.mozilla.components:support-ktx:${Versions.mozilla_android_components}"
|
2019-07-17 22:09:47 +00:00
|
|
|
const val mozilla_support_rusthttp = "org.mozilla.components:support-rusthttp:${Versions.mozilla_android_components}"
|
2019-02-15 21:19:14 +00:00
|
|
|
const val mozilla_support_rustlog = "org.mozilla.components:support-rustlog:${Versions.mozilla_android_components}"
|
2019-07-08 16:14:13 +00:00
|
|
|
const val mozilla_support_utils = "org.mozilla.components:support-utils:${Versions.mozilla_android_components}"
|
2019-06-08 19:12:44 +00:00
|
|
|
const val mozilla_support_test = "org.mozilla.components:support-test:${Versions.mozilla_android_components}"
|
2019-10-19 02:19:22 +00:00
|
|
|
const val mozilla_support_migration = "org.mozilla.components:support-migration:${Versions.mozilla_android_components}"
|
2020-01-04 02:15:35 +00:00
|
|
|
const val mozilla_support_locale = "org.mozilla.components:support-locale:${Versions.mozilla_android_components}"
|
2019-01-23 16:13:05 +00:00
|
|
|
|
2019-01-29 16:42:10 +00:00
|
|
|
const val sentry = "io.sentry:sentry-android:${Versions.sentry}"
|
2019-02-13 15:08:35 +00:00
|
|
|
const val leakcanary = "com.squareup.leakcanary:leakcanary-android:${Versions.leakcanary}"
|
2019-01-29 16:42:10 +00:00
|
|
|
|
2020-01-23 23:03:04 +00:00
|
|
|
const val leanplum_core = "com.leanplum:leanplum-core:${Versions.leanplum}"
|
|
|
|
const val leanplum_fcm = "com.leanplum:leanplum-fcm:${Versions.leanplum}"
|
2019-10-08 00:00:15 +00:00
|
|
|
|
2019-02-01 14:26:58 +00:00
|
|
|
const val androidx_annotation = "androidx.annotation:annotation:${Versions.androidx_annotation}"
|
2019-10-30 00:14:12 +00:00
|
|
|
const val androidx_biometric = "androidx.biometric:biometric:${Versions.androidx_biometric}"
|
2019-06-13 00:14:46 +00:00
|
|
|
const val androidx_fragment = "androidx.fragment:fragment-ktx:${Versions.androidx_fragment}"
|
2019-02-01 14:26:58 +00:00
|
|
|
const val androidx_appcompat = "androidx.appcompat:appcompat:${Versions.androidx_appcompat}"
|
2019-06-05 19:33:42 +00:00
|
|
|
const val androidx_coordinatorlayout = "androidx.coordinatorlayout:coordinatorlayout:${Versions.androidx_coordinator_layout}"
|
2019-02-01 14:26:58 +00:00
|
|
|
const val androidx_constraintlayout = "androidx.constraintlayout:constraintlayout:${Versions.androidx_constraint_layout}"
|
2019-01-15 01:42:58 +00:00
|
|
|
const val androidx_legacy = "androidx.legacy:legacy-support-v4:${Versions.androidx_legacy}"
|
2019-11-06 01:30:04 +00:00
|
|
|
const val androidx_lifecycle_livedata = "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.androidx_lifecycle}"
|
2019-06-13 00:14:46 +00:00
|
|
|
const val androidx_lifecycle_viewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.androidx_lifecycle}"
|
|
|
|
const val androidx_lifecycle_runtime = "androidx.lifecycle:lifecycle-runtime-ktx:${Versions.androidx_lifecycle}"
|
2019-07-24 21:37:10 +00:00
|
|
|
const val androidx_paging = "androidx.paging:paging-runtime-ktx:${Versions.androidx_paging}"
|
2019-01-30 20:02:11 +00:00
|
|
|
const val androidx_preference = "androidx.preference:preference-ktx:${Versions.androidx_preference}"
|
2019-03-15 03:47:48 +00:00
|
|
|
const val androidx_safeargs = "androidx.navigation:navigation-safe-args-gradle-plugin:${Versions.androidx_navigation}"
|
2019-06-13 00:13:24 +00:00
|
|
|
const val androidx_navigation_fragment = "androidx.navigation:navigation-fragment-ktx:${Versions.androidx_navigation}"
|
2019-03-07 04:23:57 +00:00
|
|
|
const val androidx_navigation_ui = "androidx.navigation:navigation-ui:${Versions.androidx_navigation}"
|
2019-04-07 02:06:27 +00:00
|
|
|
const val androidx_recyclerview = "androidx.recyclerview:recyclerview:${Versions.androidx_recyclerview}"
|
2019-05-09 21:19:44 +00:00
|
|
|
const val androidx_core = "androidx.core:core:${Versions.androidx_core}"
|
2019-06-10 12:50:37 +00:00
|
|
|
const val androidx_core_ktx = "androidx.core:core-ktx:${Versions.androidx_core}"
|
2019-05-09 21:19:44 +00:00
|
|
|
const val androidx_transition = "androidx.transition:transition:${Versions.androidx_transition}"
|
2019-07-08 16:14:13 +00:00
|
|
|
const val androidx_work_ktx = "androidx.work:work-runtime-ktx:${Versions.androidx_work}"
|
2019-09-18 14:16:10 +00:00
|
|
|
const val androidx_work_testing = "androidx.work:work-testing:${Versions.androidx_work}"
|
2019-05-25 00:06:45 +00:00
|
|
|
const val google_material = "com.google.android.material:material:${Versions.google_material}"
|
2019-02-01 14:26:58 +00:00
|
|
|
|
2019-02-28 17:12:47 +00:00
|
|
|
const val adjust = "com.adjust.sdk:adjust-android:${Versions.adjust}"
|
|
|
|
const val installreferrer = "com.android.installreferrer:installreferrer:${Versions.installreferrer}"
|
|
|
|
|
2019-05-07 21:36:37 +00:00
|
|
|
const val junit = "junit:junit:${Versions.junit}"
|
2019-02-20 02:10:17 +00:00
|
|
|
const val mockk = "io.mockk:mockk:${Versions.mockk}"
|
2019-02-21 17:38:00 +00:00
|
|
|
|
2020-04-02 00:11:34 +00:00
|
|
|
// --- START AndroidX test dependencies --- //
|
|
|
|
// N.B.: the versions of these dependencies appear to be pinned together. To avoid bugs, they
|
|
|
|
// should always be updated together based on the latest version from the Android test releases page:
|
|
|
|
// https://developer.android.com/jetpack/androidx/releases/test
|
|
|
|
// For the full IDs of these test dependencies, see:
|
|
|
|
// https://developer.android.com/training/testing/set-up-project#android-test-dependencies
|
2020-04-02 22:38:08 +00:00
|
|
|
private const val androidx_test_shared_version = "1.3.0-alpha05" // this appears to be shared with many deps.
|
2020-04-02 00:11:34 +00:00
|
|
|
const val androidx_test_core = "androidx.test:core:$androidx_test_shared_version"
|
2020-04-02 22:38:08 +00:00
|
|
|
private const val androidx_espresso_version = "3.3.0-alpha05"
|
2020-04-02 00:11:34 +00:00
|
|
|
const val espresso_core = "androidx.test.espresso:espresso-core:$androidx_espresso_version"
|
|
|
|
const val espresso_contrib = "androidx.test.espresso:espresso-contrib:$androidx_espresso_version"
|
|
|
|
const val espresso_idling_resources = "androidx.test.espresso:espresso-idling-resource:$androidx_espresso_version"
|
|
|
|
const val espresso_intents = "androidx.test.espresso:espresso-intents:$androidx_espresso_version"
|
2020-04-02 22:38:08 +00:00
|
|
|
const val androidx_junit = "androidx.test.ext:junit:1.1.2-alpha05"
|
2020-04-02 00:11:34 +00:00
|
|
|
// Monitor is unused
|
|
|
|
const val orchestrator = "androidx.test:orchestrator:$androidx_test_shared_version"
|
|
|
|
const val tools_test_runner = "androidx.test:runner:$androidx_test_shared_version"
|
|
|
|
const val tools_test_rules = "androidx.test:rules:$androidx_test_shared_version"
|
|
|
|
// Truth is unused
|
2020-04-02 22:38:08 +00:00
|
|
|
// Test services is unused
|
2020-04-02 00:11:34 +00:00
|
|
|
// --- END AndroidX test dependencies --- //
|
|
|
|
|
2019-07-05 17:38:09 +00:00
|
|
|
const val mockwebserver = "com.squareup.okhttp3:mockwebserver:${Versions.mockwebserver}"
|
2019-08-23 20:37:52 +00:00
|
|
|
const val uiautomator = "androidx.test.uiautomator:uiautomator:${Versions.uiautomator}"
|
2020-04-20 21:27:46 +00:00
|
|
|
const val robolectric = "org.robolectric:robolectric:4.3.1"
|
2019-07-17 22:09:47 +00:00
|
|
|
|
2019-05-03 14:40:22 +00:00
|
|
|
const val google_ads_id = "com.google.android.gms:play-services-ads-identifier:${Versions.google_ads_id_version}"
|
2019-09-10 20:29:21 +00:00
|
|
|
|
2020-08-24 19:34:27 +00:00
|
|
|
// Required for in-app reviews
|
|
|
|
const val google_play_store = "com.google.android.play:core:${Versions.google_play_store_version}"
|
|
|
|
|
2019-09-10 20:29:21 +00:00
|
|
|
const val lottie = "com.airbnb.android:lottie:${Versions.airbnb_lottie}"
|
2019-12-31 16:46:22 +00:00
|
|
|
|
|
|
|
const val detektApi = "io.gitlab.arturbosch.detekt:detekt-api:${Versions.detekt}"
|
|
|
|
const val detektTest = "io.gitlab.arturbosch.detekt:detekt-test:${Versions.detekt}"
|
|
|
|
const val junitApi = "org.junit.jupiter:junit-jupiter-api:${Versions.junit}"
|
|
|
|
const val junitParams = "org.junit.jupiter:junit-jupiter-params:${Versions.junit}"
|
|
|
|
const val junitEngine = "org.junit.jupiter:junit-jupiter-engine:${Versions.junit}"
|
2019-01-15 18:47:38 +00:00
|
|
|
}
|
2020-04-15 17:54:36 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Functionality to limit specific dependencies to specific repositories. These are typically expected to be used by
|
|
|
|
* dependency group name (i.e. with `include/excludeGroup`). For additional info, see:
|
|
|
|
* https://docs.gradle.org/current/userguide/declaring_repositories.html#sec::matching_repositories_to_dependencies
|
|
|
|
*
|
|
|
|
* Note: I wanted to nest this in Deps but for some reason gradle can't find it so it's top-level now. :|
|
|
|
|
*/
|
|
|
|
object RepoMatching {
|
|
|
|
const val mozilla = "org\\.mozilla\\..*"
|
|
|
|
const val androidx = "androidx\\..*"
|
|
|
|
const val comAndroid = "com\\.android\\..*"
|
|
|
|
const val comGoogleFirebase = "com\\.google\\.firebase"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A matcher for com.google.android.* with one exception: the espresso-contrib dependency includes the
|
|
|
|
* accessibility-test-framework dependency, which is not available in the google repo. As such, we must
|
|
|
|
* explicitly exclude it from this regex so it can be found on jcenter. Note that the transitive dependency
|
|
|
|
* com.google.guava is also not available on google's repo.
|
|
|
|
*/
|
|
|
|
const val comGoogleAndroid = "com\\.google\\.android\\.(?!apps\\.common\\.testing\\.accessibility\\.framework).*"
|
|
|
|
}
|