build.gradle 1.78 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.3.10'
Geoffrey Métais's avatar
Geoffrey Métais committed
5
    ext.kotlinx_version = '1.0.1'
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"
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()
Geoffrey Métais's avatar
Geoffrey Métais committed
22
        jcenter()
Geoffrey Métais's avatar
Geoffrey Métais committed
23 24 25
        maven {
            url "https://dl.bintray.com/videolan/LibVLC"
        }
Geoffrey Métais's avatar
Geoffrey Métais committed
26 27 28
    }
}

29
ext {
30 31 32 33
    versionName = '3.0.13'
    versionCode = 3001300
    minSdkVersion = 17
    targetSdkVersion = 28
Geoffrey Métais's avatar
Geoffrey Métais committed
34
    compileSdkVersion = 28
Geoffrey Métais's avatar
Geoffrey Métais committed
35
    libvlcVersion = '3.1.0'
36
    medialibraryVersion = '0.3.90'
37 38 39
    androidxVersion = '1.0.0'
    constraintLayoutVersion = '2.0.0-alpha2'
    archVersion = '2.0.0'
40 41
    roomVersion = '2.1.0-alpha02'
    pagingVersion = '2.1.0-beta01'
Habib Kazemi's avatar
Habib Kazemi committed
42
    junitVersion = '4.12'
43 44
    mockito = '2.8.9'
    powerMock = '1.7.4'
Habib Kazemi's avatar
Habib Kazemi committed
45
    retrofit = '2.4.0'
46 47
    espressoVersion = '3.1.0-beta02'
    supportTest = '1.1.0-beta02'
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
//    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
64
}