Dependencies.kt revision b7a0b6ffed669700e4a06ee953aff46034efa0a3
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 = "com.android.support.constraint:constraint-layout:1.0.2@aar" 23const val DEXMAKER_MOCKITO = "com.linkedin.dexmaker:dexmaker-mockito:2.2.0" 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 GOOGLE_COMPILE_TESTING = "com.google.testing.compile:compile-testing:0.11" 27const val GSON = "com.google.code.gson:gson:2.8.0" 28const val GUAVA = "com.google.guava:guava:21.0" 29const val GUAVA_ANDROID = "com.google.guava:guava:23.6-android" 30const val INTELLIJ_ANNOTATIONS = "com.intellij:annotations:12.0" 31const val JAVAPOET = "com.squareup:javapoet:1.8.0" 32const val JSR250 = "javax.annotation:javax.annotation-api:1.2" 33const val JUNIT = "junit:junit:4.12" 34const val KOTLIN_STDLIB = "org.jetbrains.kotlin:kotlin-stdlib:1.2.20" 35const val KOTLIN_METADATA = "me.eugeniomarletti:kotlin-metadata:1.2.1" 36const val LINT = "com.android.tools.lint:lint:26.0.0" 37const val MOCKITO_CORE = "org.mockito:mockito-core:2.7.6" 38const val MULTIDEX = "com.android.support:multidex:1.0.1" 39const val NULLAWAY = "com.uber.nullaway:nullaway:0.2.0" 40const val REACTIVE_STREAMS = "org.reactivestreams:reactive-streams:1.0.0" 41const val RX_JAVA = "io.reactivex.rxjava2:rxjava:2.0.6" 42const val TEST_RUNNER = "com.android.support.test:runner:1.0.1" 43const val TEST_RULES = "com.android.support.test:rules:1.0.1" 44 45const val ESPRESSO_CONTRIB_TMP = "com.android.temp.support.test.espresso:espresso-contrib:3.0.1" 46const val ESPRESSO_CORE_TMP = "com.android.temp.support.test.espresso:espresso-core:3.0.1" 47const val TEST_RUNNER_TMP = "com.android.temp.support.test:runner:1.0.1" 48const val TEST_RULES_TMP = "com.android.temp.support.test:rules:1.0.1" 49 50 51/** 52 * this Xerial version is newer than we want but we need it to fix 53 * https://github.com/xerial/sqlite-jdbc/issues/97 54 * https://github.com/xerial/sqlite-jdbc/issues/267 55 */ 56const val XERIAL = "org.xerial:sqlite-jdbc:3.20.1" 57 58// Support library dependencies needed for projects that compile against prebuilt versions 59// instead of source directly. 60// NOTE: _27 versions exist for modules that have opted-in to 27, and tests that depend on those 61// modules. Other projects may stick to older versions to avoid forcing users to update. 62private const val SUPPORT_VERSION_27 = "27.1.0" 63const val SUPPORT_RECYCLERVIEW_27 = "com.android.support:recyclerview-v7:$SUPPORT_VERSION_27" 64const val SUPPORT_APPCOMPAT_27 = "com.android.support:appcompat-v7:$SUPPORT_VERSION_27" 65 66private const val SUPPORT_VERSION = "26.1.0" 67const val SUPPORT_ANNOTATIONS = "com.android.support:support-annotations:$SUPPORT_VERSION" 68const val SUPPORT_APPCOMPAT = "com.android.support:appcompat-v7:$SUPPORT_VERSION" 69const val SUPPORT_CARDVIEW = "com.android.support:cardview-v7:$SUPPORT_VERSION" 70const val SUPPORT_CORE_UTILS = "com.android.support:support-core-utils:$SUPPORT_VERSION" 71const val SUPPORT_DESIGN = "com.android.support:design:$SUPPORT_VERSION" 72const val SUPPORT_FRAGMENTS = "com.android.support:support-fragment:$SUPPORT_VERSION" 73const val SUPPORT_RECYCLERVIEW = "com.android.support:recyclerview-v7:$SUPPORT_VERSION" 74const val SUPPORT_V4 = "com.android.support:support-v4:$SUPPORT_VERSION" 75 76// Arch libraries 77const val ARCH_LIFECYCLE_RUNTIME = "androidx.temp.arch.lifecycle:runtime:2.0.0-alpha1@aar" 78const val ARCH_LIFECYCLE_LIVEDATA_CORE = "androidx.temp.arch.lifecycle:livedata-core:2.0.0-alpha1@aar" 79const val ARCH_LIFECYCLE_VIEWMODEL = "androidx.temp.arch.lifecycle:viewmodel:2.0.0-alpha1@aar" 80const val ARCH_LIFECYCLE_EXTENSIONS = "androidx.temp.arch.lifecycle:extensions:2.0.0-alpha1@aar" 81