build.gradle 1.41 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 4
    ext.android_plugin_version = '3.1.0'
    ext.kotlin_version = '1.2.31'
5
    ext.kotlinx_version = '0.22.2'
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.0'
Geoffrey Métais's avatar
Geoffrey Métais committed
28
    constraintLayoutVersion = '1.1.0-beta6'
29
    archVersion = '1.1.1'
30
    compileSdkVersion = 26
31
    minSdkVersion = 14
Geoffrey Métais's avatar
Geoffrey Métais committed
32
    targetSdkVersion = 26
Geoffrey Métais's avatar
Geoffrey Métais committed
33
    versionName = '3.0.5'
Geoffrey Métais's avatar
Geoffrey Métais committed
34
    versionCode = 3000520
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
//    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
51
}