48 lines
1.3 KiB
Groovy
48 lines
1.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25"
|
|
defaultConfig {
|
|
applicationId "org.torproject.android"
|
|
minSdkVersion 16
|
|
targetSdkVersion 25
|
|
}
|
|
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
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
productFlavors {
|
|
minimalperm {
|
|
minSdkVersion 16
|
|
applicationId 'org.torproject.android'
|
|
targetSdkVersion 22
|
|
maxSdkVersion 22
|
|
versionCode 15420000
|
|
versionName '15.4.2-RC-1-multi-SDK16'
|
|
}
|
|
fullperm {
|
|
minSdkVersion 23
|
|
applicationId 'org.torproject.android'
|
|
targetSdkVersion 25
|
|
versionCode 15420001
|
|
versionName '15.4.2-RC-1-multi-SDK23'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':orbotservice')
|
|
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'
|
|
}
|