Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 1 | /* |
| 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 Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 17 | package android.support |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 18 | |
| 19 | /** |
| 20 | * The list of versions codes of all the libraries in this project. |
| 21 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 22 | object LibraryVersions { |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 23 | /** |
| 24 | * Version code of the support library components. |
| 25 | */ |
Alan Viverette | 2d7294e | 2018-02-06 15:42:25 -0500 | [diff] [blame] | 26 | val SUPPORT_LIBRARY = Version("27.1.0") |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 27 | |
| 28 | /** |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 29 | * Version code for Room |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 30 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 31 | val ROOM = Version("1.1.0-alpha1") |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 32 | |
| 33 | /** |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 34 | * Version code for Lifecycle extensions (ProcessLifecycleOwner, Fragment support) |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 35 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 36 | val LIFECYCLES_EXT = Version("1.1.0") |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 37 | |
| 38 | /** |
| 39 | * Version code for Lifecycle LiveData |
| 40 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 41 | val LIFECYCLES_LIVEDATA = LIFECYCLES_EXT |
Ian Lake | 3f841f9 | 2017-12-14 13:49:05 -0800 | [diff] [blame] | 42 | |
| 43 | /** |
| 44 | * Version code for Lifecycle ViewModel |
| 45 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 46 | val LIFECYCLES_VIEWMODEL = LIFECYCLES_EXT |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 47 | |
| 48 | /** |
| 49 | * Version code for RecyclerView & Room paging |
| 50 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 51 | val PAGING = Version("1.0.0-alpha5") |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 52 | |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 53 | private val LIFECYCLES = Version("1.1.0") |
Sergey Vasilinets | 69b53fb | 2017-10-13 14:00:40 -0700 | [diff] [blame] | 54 | |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 55 | /** |
| 56 | * Version code for Lifecycle libs that are required by the support library |
| 57 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 58 | val LIFECYCLES_CORE = LIFECYCLES |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 59 | |
| 60 | /** |
| 61 | * Version code for Lifecycle runtime libs that are required by the support library |
| 62 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 63 | val LIFECYCLES_RUNTIME = LIFECYCLES |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 64 | |
| 65 | /** |
| 66 | * Version code for shared code of flatfoot |
| 67 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 68 | val ARCH_CORE = Version("1.1.0") |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 69 | |
| 70 | /** |
| 71 | * Version code for shared code of flatfoot runtime |
| 72 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 73 | val ARCH_RUNTIME = ARCH_CORE |
Yigit Boyar | d382982 | 2017-08-25 16:53:25 -0700 | [diff] [blame] | 74 | |
| 75 | /** |
| 76 | * Version code for shared testing code of flatfoot |
| 77 | */ |
Aurimas Liutikas | 36bbc1d | 2018-01-24 19:32:16 -0800 | [diff] [blame] | 78 | val ARCH_CORE_TESTING = ARCH_CORE |
Aurimas Liutikas | b938b2e | 2017-07-24 14:47:17 -0700 | [diff] [blame] | 79 | } |