build.gradle 1.03 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"
8
        minSdkVersion 23
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
27
28
29
30
    productFlavors {
        minimalperm {
            minSdkVersion 16
            applicationId 'org.torproject.android'
            targetSdkVersion 22
            maxSdkVersion 22
        }
    }
31
32
33
34
}

dependencies {
    compile project(':orbotservice')
Nathan Freitas's avatar
Nathan Freitas committed
35
36
37
    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'
38
}