Home | History | Annotate | Download | only in support
      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 
     17 package android.support;
     18 
     19 /**
     20  * The list of versions codes of all the libraries in this project.
     21  */
     22 public class LibraryVersions {
     23     /**
     24      * Version code of the support library components.
     25      */
     26     public static final Version SUPPORT_LIBRARY = new Version("27.0.0-SNAPSHOT");
     27 
     28     /**
     29      * Version code for flatfoot 1.0 projects (room, lifecycles)
     30      */
     31     private static final Version FLATFOOT_1_0_BATCH = new Version("1.0.0-beta1");
     32 
     33     /**
     34      * Version code for Room
     35      */
     36     public static final Version ROOM = FLATFOOT_1_0_BATCH;
     37 
     38     /**
     39      * Version code for Lifecycle extensions (live data, view model etc)
     40      */
     41     public static final Version LIFECYCLES_EXT = FLATFOOT_1_0_BATCH;
     42 
     43     /**
     44      * Version code for RecyclerView & Room paging
     45      */
     46     public static final Version PAGING = new Version("1.0.0-alpha2");
     47 
     48     /**
     49      * Version code for Lifecycle libs that are required by the support library
     50      */
     51     public static final Version LIFECYCLES_CORE = new Version("1.0.1");
     52 
     53     /**
     54      * Version code for Lifecycle runtime libs that are required by the support library
     55      */
     56     public static final Version LIFECYCLES_RUNTIME = new Version("1.0.0");
     57 
     58     /**
     59      * Version code for shared code of flatfoot
     60      */
     61     public static final Version ARCH_CORE = new Version("1.0.0");
     62 
     63     /**
     64      * Version code for shared code of flatfoot runtime
     65      */
     66     public static final Version ARCH_RUNTIME = FLATFOOT_1_0_BATCH;
     67 
     68     /**
     69      * Version code for shared testing code of flatfoot
     70      */
     71     public static final Version ARCH_CORE_TESTING = FLATFOOT_1_0_BATCH;
     72 }
     73