Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 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 | |
Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 17 | package androidx.build.dependencies |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 18 | |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 19 | const val AUTO_COMMON = "com.google.auto:auto-common:0.6" |
| 20 | const val ANTLR = "org.antlr:antlr4:4.5.3" |
| 21 | const val APACHE_COMMONS_CODEC = "commons-codec:commons-codec:1.10" |
Aurimas Liutikas | 670536f | 2018-02-13 08:40:27 -0800 | [diff] [blame] | 22 | const val CONSTRAINT_LAYOUT = "com.android.support.constraint:constraint-layout:1.0.2@aar" |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 23 | const val DEXMAKER_MOCKITO = "com.linkedin.dexmaker:dexmaker-mockito:2.2.0" |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 24 | const val ESPRESSO_CONTRIB = "com.android.support.test.espresso:espresso-contrib:3.0.1" |
| 25 | const val ESPRESSO_CORE = "com.android.support.test.espresso:espresso-core:3.0.1" |
| 26 | const val GOOGLE_COMPILE_TESTING = "com.google.testing.compile:compile-testing:0.11" |
| 27 | const val GSON = "com.google.code.gson:gson:2.8.0" |
Yigit Boyar | c71517d | 2018-02-09 13:34:18 -0800 | [diff] [blame] | 28 | const val GUAVA = "com.google.guava:guava:21.0" |
| 29 | const val GUAVA_ANDROID = "com.google.guava:guava:23.6-android" |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 30 | const val INTELLIJ_ANNOTATIONS = "com.intellij:annotations:12.0" |
| 31 | const val JAVAPOET = "com.squareup:javapoet:1.8.0" |
| 32 | const val JSR250 = "javax.annotation:javax.annotation-api:1.2" |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 33 | const val JUNIT = "junit:junit:4.12" |
Yigit Boyar | 9e82863 | 2018-02-05 18:36:08 -0800 | [diff] [blame] | 34 | const val KOTLIN_STDLIB = "org.jetbrains.kotlin:kotlin-stdlib:1.2.20" |
| 35 | const val KOTLIN_METADATA = "me.eugeniomarletti:kotlin-metadata:1.2.1" |
Gustav Sennton | 18f68e7 | 2017-12-15 12:00:40 +0000 | [diff] [blame] | 36 | const val LINT = "com.android.tools.lint:lint:26.0.0" |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 37 | const val MOCKITO_CORE = "org.mockito:mockito-core:2.7.6" |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 38 | const val MULTIDEX = "com.android.support:multidex:1.0.1" |
Jake Wharton | 2cf69e3 | 2017-12-05 10:56:20 -0500 | [diff] [blame] | 39 | const val NULLAWAY = "com.uber.nullaway:nullaway:0.2.0" |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 40 | const val REACTIVE_STREAMS = "org.reactivestreams:reactive-streams:1.0.0" |
| 41 | const val RX_JAVA = "io.reactivex.rxjava2:rxjava:2.0.6" |
Aurimas Liutikas | f4ec12f | 2017-11-22 12:55:43 -0800 | [diff] [blame] | 42 | const val TEST_RUNNER = "com.android.support.test:runner:1.0.1" |
| 43 | const val TEST_RULES = "com.android.support.test:rules:1.0.1" |
Filip Pavlis | a879294 | 2018-03-08 21:01:59 +0000 | [diff] [blame] | 44 | |
| 45 | const val ESPRESSO_CONTRIB_TMP = "com.android.temp.support.test.espresso:espresso-contrib:3.0.1" |
| 46 | const val ESPRESSO_CORE_TMP = "com.android.temp.support.test.espresso:espresso-core:3.0.1" |
| 47 | const val TEST_RUNNER_TMP = "com.android.temp.support.test:runner:1.0.1" |
| 48 | const val TEST_RULES_TMP = "com.android.temp.support.test:rules:1.0.1" |
| 49 | |
| 50 | |
Aurimas Liutikas | 81b5bac | 2017-11-28 13:26:43 -0800 | [diff] [blame] | 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 | */ |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 56 | const 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. |
Chris Craik | 17347a1 | 2018-02-09 16:07:30 -0800 | [diff] [blame] | 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. |
| 62 | private const val SUPPORT_VERSION_27 = "27.1.0" |
| 63 | const val SUPPORT_RECYCLERVIEW_27 = "com.android.support:recyclerview-v7:$SUPPORT_VERSION_27" |
| 64 | const val SUPPORT_APPCOMPAT_27 = "com.android.support:appcompat-v7:$SUPPORT_VERSION_27" |
| 65 | |
Aurimas Liutikas | 62d3e1d | 2017-11-28 15:28:01 -0800 | [diff] [blame] | 66 | private const val SUPPORT_VERSION = "26.1.0" |
| 67 | const val SUPPORT_ANNOTATIONS = "com.android.support:support-annotations:$SUPPORT_VERSION" |
| 68 | const val SUPPORT_APPCOMPAT = "com.android.support:appcompat-v7:$SUPPORT_VERSION" |
| 69 | const val SUPPORT_CARDVIEW = "com.android.support:cardview-v7:$SUPPORT_VERSION" |
| 70 | const val SUPPORT_CORE_UTILS = "com.android.support:support-core-utils:$SUPPORT_VERSION" |
| 71 | const val SUPPORT_DESIGN = "com.android.support:design:$SUPPORT_VERSION" |
| 72 | const val SUPPORT_FRAGMENTS = "com.android.support:support-fragment:$SUPPORT_VERSION" |
| 73 | const val SUPPORT_RECYCLERVIEW = "com.android.support:recyclerview-v7:$SUPPORT_VERSION" |
| 74 | const val SUPPORT_V4 = "com.android.support:support-v4:$SUPPORT_VERSION" |
| 75 | |
| 76 | // Arch libraries |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 77 | const val ARCH_LIFECYCLE_RUNTIME = "androidx.temp.arch.lifecycle:runtime:2.0.0-alpha1@aar" |
| 78 | const val ARCH_LIFECYCLE_LIVEDATA_CORE = "androidx.temp.arch.lifecycle:livedata-core:2.0.0-alpha1@aar" |
| 79 | const val ARCH_LIFECYCLE_VIEWMODEL = "androidx.temp.arch.lifecycle:viewmodel:2.0.0-alpha1@aar" |
| 80 | const val ARCH_LIFECYCLE_EXTENSIONS = "androidx.temp.arch.lifecycle:extensions:2.0.0-alpha1@aar" |