tor-android/app/build.gradle

53 lines
1.4 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '26.0.2'
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'
}
}
flavorDimensions "free"
productFlavors {
minimalperm {
dimension "free"
minSdkVersion 16
applicationId 'org.torproject.android'
targetSdkVersion 23
maxSdkVersion 23
versionCode 15500000
versionName '15.5.0-RC-1-multi-SDK16'
}
fullperm {
dimension "free"
minSdkVersion 23
applicationId 'org.torproject.android'
targetSdkVersion 25
versionCode 15500001
versionName '15.5.0-RC-1-multi-SDK23'
}
}
}
dependencies {
compile project(':orbotservice')
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'
}