build.gradle 1.33 KB
Newer Older
1
2
3
apply plugin: 'com.android.application'

android {
Nathan Freitas's avatar
Nathan Freitas committed
4
5
    compileSdkVersion 25
    buildToolsVersion "25"
6
7
    defaultConfig {
        applicationId "org.torproject.android"
n8fr8's avatar
n8fr8 committed
8
        minSdkVersion 16
Nathan Freitas's avatar
Nathan Freitas committed
9
        targetSdkVersion 25
10
    }
11
12
13
14
15
16
    lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }
17
18
19
20
21
22
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
23
24
25
26
    productFlavors {
        minimalperm {
            minSdkVersion 16
            applicationId 'org.torproject.android'
27
28
            targetSdkVersion 23
            maxSdkVersion 23
29
30
            versionCode 15430000
            versionName '15.4.3-RC-1-multi-SDK16'
n8fr8's avatar
n8fr8 committed
31
32
33
34
35
        }
        fullperm {
            minSdkVersion 23
            applicationId 'org.torproject.android'
            targetSdkVersion 25
36
37
            versionCode 15430001
            versionName '15.4.3-RC-1-multi-SDK23'
38
        }
39
    }
40
41
42
43
}

dependencies {
    compile project(':orbotservice')
Nathan Freitas's avatar
Nathan Freitas committed
44
45
46
    compile 'com.android.support:support-v4:25.0.0'
    compile 'com.android.support:appcompat-v7:25.0.0'
    compile 'com.android.support:design:25.0.0'
47
}