LibraryVersions.kt revision ba069d50913c3fb250bb60ec310439db36895337
1/* 2 * Copyright 2018 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 18 19/** 20 * The list of versions codes of all the libraries in this project. 21 */ 22object LibraryVersions { 23 /** 24 * Version code of the support library components. 25 */ 26 val SUPPORT_LIBRARY = Version("1.0.0-SNAPSHOT") 27 28 /** 29 * Version code for Room 30 */ 31 val ROOM = Version("2.0.0-SNAPSHOT") 32 33 /** 34 * Version code for Lifecycle extensions (ProcessLifecycleOwner, Fragment support) 35 */ 36 val LIFECYCLES_EXT = Version("2.0.0-SNAPSHOT") 37 38 /** 39 * Version code for Lifecycle LiveData 40 */ 41 val LIFECYCLES_LIVEDATA = LIFECYCLES_EXT 42 43 /** 44 * Version code for Lifecycle ViewModel 45 */ 46 val LIFECYCLES_VIEWMODEL = LIFECYCLES_EXT 47 48 /** 49 * Version code for Paging 50 */ 51 val PAGING = Version("2.0.0-SNAPSHOT") 52 53 private val LIFECYCLES = Version("2.0.0-SNAPSHOT") 54 55 /** 56 * Version code for Lifecycle libs that are required by the support library 57 */ 58 val LIFECYCLES_CORE = LIFECYCLES 59 60 /** 61 * Version code for Lifecycle runtime libs that are required by the support library 62 */ 63 val LIFECYCLES_RUNTIME = LIFECYCLES 64 65 /** 66 * Version code for shared code of flatfoot 67 */ 68 val ARCH_CORE = Version("2.0.0-SNAPSHOT") 69 70 /** 71 * Version code for shared code of flatfoot runtime 72 */ 73 val ARCH_RUNTIME = ARCH_CORE 74 75 /** 76 * Version code for shared testing code of flatfoot 77 */ 78 val ARCH_CORE_TESTING = ARCH_CORE 79 80 /** 81 * Version code for Jetifier 82 */ 83 val JETIFIER = Version("0.2.0") 84} 85