Home | History | Annotate | Download | only in build
      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 
     17 package androidx.build
     18 
     19 /**
     20  * The list of versions codes of all the libraries in this project.
     21  */
     22 object LibraryVersions {
     23     /**
     24      * Version code of the support library components.
     25      */
     26     val SUPPORT_LIBRARY = Version("1.0.0-alpha1")
     27 
     28     /**
     29      * Version code for Room
     30      */
     31     val ROOM = Version("2.0.0-alpha1")
     32 
     33     /**
     34      * Version code for Lifecycle extensions (ProcessLifecycleOwner, Fragment support)
     35      */
     36     val LIFECYCLES_EXT = Version("2.0.0-alpha1")
     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-alpha1")
     52 
     53     val PAGING_RX = Version("1.0.0-alpha1")
     54 
     55     private val LIFECYCLES = Version("2.0.0-alpha1")
     56 
     57     /**
     58      * Version code for Lifecycle libs that are required by the support library
     59      */
     60     val LIFECYCLES_CORE = LIFECYCLES
     61 
     62     /**
     63      * Version code for Lifecycle runtime libs that are required by the support library
     64      */
     65     val LIFECYCLES_RUNTIME = LIFECYCLES
     66 
     67     /**
     68      * Version code for shared code of flatfoot
     69      */
     70     val ARCH_CORE = Version("2.0.0-alpha1")
     71 
     72     /**
     73      * Version code for shared code of flatfoot runtime
     74      */
     75     val ARCH_RUNTIME = ARCH_CORE
     76 
     77     /**
     78      * Version code for shared testing code of flatfoot
     79      */
     80     val ARCH_CORE_TESTING = ARCH_CORE
     81 
     82     /**
     83      * Version code for Navigation
     84      */
     85     val NAVIGATION = Version("1.0.0-alpha02")
     86 
     87     /**
     88      * Version code for WorkManager
     89      */
     90     val WORKMANAGER = Version("1.0.0-alpha02")
     91 
     92     /**
     93      * Version code for Jetifier
     94      */
     95     val JETIFIER = Version("1.0.0-alpha06")
     96 }
     97