1/* 2 * Copyright 2017 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package androidx.build.dependencies 18 19const val AUTO_COMMON = "com.google.auto:auto-common:0.6" 20const val ANTLR = "org.antlr:antlr4:4.5.3" 21const val APACHE_COMMONS_CODEC = "commons-codec:commons-codec:1.10" 22const val CONSTRAINT_LAYOUT = "androidx.constraintlayout:constraintlayout:1.1.0@aar" 23const val DEXMAKER_MOCKITO = "com.linkedin.dexmaker:dexmaker-mockito:2.16.1-SNAPSHOT" 24const val ESPRESSO_CONTRIB = "com.android.support.test.espresso:espresso-contrib:3.0.1" 25const val ESPRESSO_CORE = "com.android.support.test.espresso:espresso-core:3.0.1" 26const val FIREBASE_JOBDISPATCHER = "com.firebase:firebase-jobdispatcher:0.8.5" 27const val GOOGLE_COMPILE_TESTING = "com.google.testing.compile:compile-testing:0.11" 28const val GSON = "com.google.code.gson:gson:2.8.0" 29const val GUAVA = "com.google.guava:guava:21.0" 30const val GUAVA_ANDROID = "com.google.guava:guava:23.6-android" 31const val INTELLIJ_ANNOTATIONS = "com.intellij:annotations:12.0" 32const val JAVAPOET = "com.squareup:javapoet:1.8.0" 33const val JSR250 = "javax.annotation:javax.annotation-api:1.2" 34const val JUNIT = "junit:junit:4.12" 35const val KOTLIN_STDLIB = "org.jetbrains.kotlin:kotlin-stdlib:1.2.41" 36const val KOTLIN_METADATA = "me.eugeniomarletti.kotlin.metadata:kotlin-metadata:1.4.0" 37const val LINT = "com.android.tools.lint:lint:26.2.0-alpha16" 38const val MOCKITO_CORE = "org.mockito:mockito-core:2.16.0" 39const val MULTIDEX = "androidx.multidex:multidex:2.0.0" 40const val NULLAWAY = "com.uber.nullaway:nullaway:0.3.7" 41const val PLAY_SERVICES = "com.google.android.gms:play-services-base:11.6.0" 42const val REACTIVE_STREAMS = "org.reactivestreams:reactive-streams:1.0.0" 43const val RX_JAVA = "io.reactivex.rxjava2:rxjava:2.0.6" 44const val TEST_RUNNER = "com.android.support.test:runner:1.0.1" 45const val TEST_RULES = "com.android.support.test:rules:1.0.1" 46const val TRUTH = "com.google.truth:truth:0.34" 47/** 48 * this Xerial version is newer than we want but we need it to fix 49 * https://github.com/xerial/sqlite-jdbc/issues/97 50 * https://github.com/xerial/sqlite-jdbc/issues/267 51 */ 52const val XERIAL = "org.xerial:sqlite-jdbc:3.20.1" 53const val XPP3 = "xpp3:xpp3:1.1.4c" 54const val XMLPULL = "xmlpull:xmlpull:1.1.3.1" 55 56const val ESPRESSO_CONTRIB_TMP = "com.android.temp.support.test.espresso:espresso-contrib:3.0.1" 57const val ESPRESSO_CORE_TMP = "com.android.temp.support.test.espresso:espresso-core:3.0.1" 58const val TEST_RUNNER_TMP = "com.android.temp.support.test:runner:1.0.1" 59const val TEST_RULES_TMP = "com.android.temp.support.test:rules:1.0.1" 60 61private const val NAV_SUPPORT_VERSION = "27.1.1" 62const val NAV_SUPPORT_ANNOTATIONS = "com.android.support:support-annotations:$NAV_SUPPORT_VERSION" 63const val NAV_SUPPORT_APPCOMPAT = "com.android.support:appcompat-v7:$NAV_SUPPORT_VERSION" 64const val NAV_SUPPORT_CARDVIEW = "com.android.support:cardview-v7:$NAV_SUPPORT_VERSION" 65const val NAV_SUPPORT_COMPAT = "com.android.support:support-compat:$NAV_SUPPORT_VERSION" 66const val NAV_SUPPORT_CORE_UTILS = "com.android.support:support-core-utils:$NAV_SUPPORT_VERSION" 67const val NAV_SUPPORT_DESIGN = "com.android.support:design:$NAV_SUPPORT_VERSION" 68const val NAV_SUPPORT_FRAGMENTS = "com.android.support:support-fragment:$NAV_SUPPORT_VERSION" 69const val NAV_SUPPORT_RECYCLERVIEW = "com.android.support:recyclerview-v7:$NAV_SUPPORT_VERSION" 70const val NAV_SUPPORT_V4 = "com.android.support:support-v4:$NAV_SUPPORT_VERSION" 71 72private const val SUPPORT_VERSION = "1.0.0-alpha1" 73const val SUPPORT_ANNOTATIONS = "androidx.annotation:annotation:$SUPPORT_VERSION" 74const val SUPPORT_APPCOMPAT = "androidx.appcompat:appcompat:$SUPPORT_VERSION" 75const val SUPPORT_CARDVIEW = "androidx.cardview:cardview:$SUPPORT_VERSION" 76const val SUPPORT_CORE_UTILS = "androidx.legacy:legacy-support-core-utils:$SUPPORT_VERSION" 77const val SUPPORT_DESIGN = "com.google.android.material:material:$SUPPORT_VERSION@aar" 78const val SUPPORT_FRAGMENTS = "androidx.fragment:fragment:$SUPPORT_VERSION" 79const val SUPPORT_RECYCLERVIEW = "androidx.recyclerview:recyclerview:$SUPPORT_VERSION" 80const val SUPPORT_V4 = "androidx.legacy:legacy-support-v4:$SUPPORT_VERSION" 81 82// Arch libraries 83const val ARCH_LIFECYCLE_RUNTIME = "androidx.lifecycle:lifecycle-runtime:2.0.0-alpha1@aar" 84const val ARCH_LIFECYCLE_LIVEDATA_CORE = 85 "androidx.lifecycle:lifecycle-livedata-core:2.0.0-alpha1@aar" 86const val ARCH_LIFECYCLE_VIEWMODEL = "androidx.lifecycle:lifecycle-viewmodel:2.0.0-alpha1@aar" 87const val ARCH_LIFECYCLE_EXTENSIONS = "androidx.lifecycle:lifecycle-extensions:2.0.0-alpha1@aar" 88