build.gradle 1.89 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.3.2'
Geoffrey Métais's avatar
Geoffrey Métais committed
4
    ext.kotlin_version = '1.3.21'
Geoffrey Métais's avatar
Geoffrey Métais committed
5
    ext.kotlinx_version = '1.1.1'
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"
Geoffrey Métais's avatar
Geoffrey Métais committed
13
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
Geoffrey Métais's avatar
Geoffrey Métais committed
14
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Geoffrey Métais's avatar
Geoffrey Métais committed
15
        classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
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()
22
        maven {
23
            url "https://dl.bintray.com/videolan/Android"
24
        }
25
        jcenter()
Geoffrey Métais's avatar
Geoffrey Métais committed
26 27 28
    }
}

29
ext {
Geoffrey Métais's avatar
Geoffrey Métais committed
30 31 32 33
    versionName = '3.1.1'
    versionCode = 3010100
    libvlcVersion = '3.1.9'
    medialibraryVersion = '0.4.11'
34 35
    minSdkVersion = 17
    targetSdkVersion = 28
36
    compileSdkVersion = 28
37
    androidxCoreVersion = '1.0.1'
38
    androidxPreferencesVersion = '1.0.0'
39
    androidxVersion = '1.0.0'
Geoffrey Métais's avatar
Geoffrey Métais committed
40
    androidxAnnotationVersion = '1.0.1'
41
    androidxAppcompatVersion = '1.0.2'
Geoffrey Métais's avatar
Geoffrey Métais committed
42
    constraintLayoutVersion = '1.1.3'
43
    archVersion = '2.0.0'
Geoffrey Métais's avatar
Geoffrey Métais committed
44
    roomVersion = '2.0.0'
45
    pagingVersion = '2.1.0'
Habib Kazemi's avatar
Habib Kazemi committed
46
    junitVersion = '4.12'
47 48
    mockito = '2.8.9'
    powerMock = '1.7.4'
49
    retrofit = '2.4.0'
Geoffrey Métais's avatar
Geoffrey Métais committed
50 51
    espressoVersion = '3.1.1'
    supportTest = '1.1.0'
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
//    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
68
}