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

android {
Nathan Freitas's avatar
Nathan Freitas committed
4
    compileSdkVersion 25
5
    buildToolsVersion '26.0.2'
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

    flavorDimensions "free"

26
27
    productFlavors {
        minimalperm {
28
            dimension "free"
29
30
            minSdkVersion 16
            applicationId 'org.torproject.android'
31
32
            targetSdkVersion 23
            maxSdkVersion 23
33
34
            versionCode 15510000
            versionName '15.5.1-RC-1-multi-SDK16'
n8fr8's avatar
n8fr8 committed
35
36
        }
        fullperm {
37
            dimension "free"
n8fr8's avatar
n8fr8 committed
38
39
40
            minSdkVersion 23
            applicationId 'org.torproject.android'
            targetSdkVersion 25
41
42
            versionCode 15510001
            versionName '15.5.1-RC-1-multi-SDK23'
43
        }
44
    }
45
46
47
48
}

dependencies {
    compile project(':orbotservice')
n8fr8's avatar
n8fr8 committed
49
50
51
    compile 'com.android.support:support-v4:25.3.1'
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support:design:25.3.1'
52
}