build.gradle 1.18 KB
Newer Older
Geoffrey Métais's avatar
Geoffrey Métais committed
1 2 3
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
Geoffrey Métais's avatar
Geoffrey Métais committed
4
        flatDir dirs: "gradle/plugins"
Geoffrey Métais's avatar
Geoffrey Métais committed
5 6 7
        jcenter()
    }
    dependencies {
8
        classpath 'com.android.tools.build:gradle:2.3.3'
Geoffrey Métais's avatar
Geoffrey Métais committed
9 10 11
    }
}

Geoffrey Métais's avatar
Geoffrey Métais committed
12 13
allprojects {
    repositories {
14 15 16 17
        maven {
            url 'https://maven.google.com'
            // Alternative URL is 'https://dl.google.com/dl/android/maven2/'
        }
Geoffrey Métais's avatar
Geoffrey Métais committed
18 19 20 21
        jcenter()
    }
}

22
ext {
23
    appCompatVersion = '25.2.0'
24
    constraintLayoutVersion = '1.1.0-beta1'
25 26
    buildToolsVersion = "26.0.0"
    compileSdkVersion = 26
27 28
    minSdkVersion = 9
    targetSdkVersion = 25
Geoffrey Métais's avatar
Geoffrey Métais committed
29 30
    versionName = '2.1.13'
    versionCode = 2011300
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
//    versionCode scheme is T M NN RR AA
//    T: Target/Flavour (1 for Android, 2 for Chrome?)
//    M: Major version from 0 to 9
//    NN: Minor version from 00 to 99
//    RR: Micro/Revision version from 00 to 99
//    AA: ABI from 0 to 99
//    0 is dev
//    1 was ARMv5        (deprecated)
//    2 was ARMv6-nofpu  (deprecated)
//    3 was ARMv6-fpu    (deprecated)
//    4 is ARMv7-A
//    5 is x86
//    6 is MIPS
//    7 is ARMv8
//    8 is x86_64
//    9 is MIPS64
47
}