build.gradle 1.48 KB
Newer Older
Geoffrey Métais's avatar
Geoffrey Métais committed
1 2
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
3
    ext.android_plugin_version = '3.1.4'
Geoffrey Métais's avatar
Geoffrey Métais committed
4 5
    ext.kotlin_version = '1.2.60'
    ext.kotlinx_version = '0.24.0'
Geoffrey Métais's avatar
Geoffrey Métais committed
6
    repositories {
Geoffrey Métais's avatar
Geoffrey Métais committed
7
        flatDir dirs: "gradle/plugins"
Geoffrey Métais's avatar
Geoffrey Métais committed
8
        google()
Geoffrey Métais's avatar
Geoffrey Métais committed
9 10 11
        jcenter()
    }
    dependencies {
Geoffrey Métais's avatar
Geoffrey Métais committed
12
        classpath "com.android.tools.build:gradle:$android_plugin_version"
13 14
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
Geoffrey Métais's avatar
Geoffrey Métais committed
15
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Geoffrey Métais's avatar
Geoffrey Métais committed
16 17 18
    }
}

Geoffrey Métais's avatar
Geoffrey Métais committed
19 20
allprojects {
    repositories {
Geoffrey Métais's avatar
Geoffrey Métais committed
21
        google()
Geoffrey Métais's avatar
Geoffrey Métais committed
22 23 24 25
        jcenter()
    }
}

26
ext {
27
    appCompatVersion = '27.1.1'
28
    constraintLayoutVersion = '1.1.2'
29
    archVersion = '1.1.1'
Habib Kazemi's avatar
Habib Kazemi committed
30
    roomVersion = '1.1.1'
31
    compileSdkVersion = 26
Habib Kazemi's avatar
Habib Kazemi committed
32 33
    junitVersion = '4.12'
    espressoVersion = '3.0.1'
34
    minSdkVersion = 17
Geoffrey Métais's avatar
Geoffrey Métais committed
35
    targetSdkVersion = 26
Geoffrey Métais's avatar
Geoffrey Métais committed
36 37
    versionName = '3.0.13'
    versionCode = 3001300
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
//    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
54
}