blob: e3f607d0e4c415441db6d5952d4c1b3a78906381 [file] [log] [blame]
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -07001/*
2 * Copyright (C) 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 Liutikas36bbc1d2018-01-24 19:32:16 -080017package android.support
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -070018
19/**
20 * The list of versions codes of all the libraries in this project.
21 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080022object LibraryVersions {
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -070023 /**
24 * Version code of the support library components.
25 */
Alan Viverette2d7294e2018-02-06 15:42:25 -050026 val SUPPORT_LIBRARY = Version("27.1.0")
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -070027
28 /**
Yigit Boyard3829822017-08-25 16:53:25 -070029 * Version code for Room
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -070030 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080031 val ROOM = Version("1.1.0-alpha1")
Yigit Boyard3829822017-08-25 16:53:25 -070032
33 /**
Ian Lake3f841f92017-12-14 13:49:05 -080034 * Version code for Lifecycle extensions (ProcessLifecycleOwner, Fragment support)
Yigit Boyard3829822017-08-25 16:53:25 -070035 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080036 val LIFECYCLES_EXT = Version("1.1.0")
Ian Lake3f841f92017-12-14 13:49:05 -080037
38 /**
39 * Version code for Lifecycle LiveData
40 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080041 val LIFECYCLES_LIVEDATA = LIFECYCLES_EXT
Ian Lake3f841f92017-12-14 13:49:05 -080042
43 /**
44 * Version code for Lifecycle ViewModel
45 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080046 val LIFECYCLES_VIEWMODEL = LIFECYCLES_EXT
Yigit Boyard3829822017-08-25 16:53:25 -070047
48 /**
49 * Version code for RecyclerView & Room paging
50 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080051 val PAGING = Version("1.0.0-alpha5")
Yigit Boyard3829822017-08-25 16:53:25 -070052
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080053 private val LIFECYCLES = Version("1.1.0")
Sergey Vasilinets69b53fb2017-10-13 14:00:40 -070054
Yigit Boyard3829822017-08-25 16:53:25 -070055 /**
56 * Version code for Lifecycle libs that are required by the support library
57 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080058 val LIFECYCLES_CORE = LIFECYCLES
Yigit Boyard3829822017-08-25 16:53:25 -070059
60 /**
61 * Version code for Lifecycle runtime libs that are required by the support library
62 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080063 val LIFECYCLES_RUNTIME = LIFECYCLES
Yigit Boyard3829822017-08-25 16:53:25 -070064
65 /**
66 * Version code for shared code of flatfoot
67 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080068 val ARCH_CORE = Version("1.1.0")
Yigit Boyard3829822017-08-25 16:53:25 -070069
70 /**
71 * Version code for shared code of flatfoot runtime
72 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080073 val ARCH_RUNTIME = ARCH_CORE
Yigit Boyard3829822017-08-25 16:53:25 -070074
75 /**
76 * Version code for shared testing code of flatfoot
77 */
Aurimas Liutikas36bbc1d2018-01-24 19:32:16 -080078 val ARCH_CORE_TESTING = ARCH_CORE
Aurimas Liutikasb938b2e2017-07-24 14:47:17 -070079}