build.gradle 1.64 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 {
Geoffrey Métais's avatar
Geoffrey Métais committed
3
    ext.android_plugin_version = '3.2.1'
Geoffrey Métais's avatar
Geoffrey Métais committed
4
    ext.kotlin_version = '1.2.71'
5
    ext.kotlinx_version = '0.30.2'
Geoffrey Métais's avatar
Geoffrey Métais committed
6
    repositories {
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 28 29 30
    versionName = '3.0.13'
    versionCode = 3001300
    minSdkVersion = 17
    targetSdkVersion = 28
31
    compileSdkVersion = 28
32 33 34 35 36
    androidxVersion = '1.0.0'
    constraintLayoutVersion = '2.0.0-alpha2'
    archVersion = '2.0.0'
    roomVersion = '2.1.0-alpha01'
    pagingVersion = '2.1.0-alpha01'
Habib Kazemi's avatar
Habib Kazemi committed
37
    junitVersion = '4.12'
38 39
    mockito = '2.8.9'
    powerMock = '1.7.4'
40
    retrofit = '2.4.0'
41 42
    espressoVersion = '3.1.0-beta02'
    supportTest = '1.1.0-beta02'
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
//    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
59
}