mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
73 lines
2.2 KiB
Groovy
73 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion = 25
|
|
buildToolsVersion = "26.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "com.kunzisoft.keepass"
|
|
minSdkVersion 14
|
|
targetSdkVersion 25
|
|
versionCode = 2
|
|
versionName = "2.5.0.0beta2"
|
|
|
|
testApplicationId = "com.keepassdroid.tests"
|
|
testInstrumentationRunner = "android.test.InstrumentationTestRunner"
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "src/main/jni/CMakeLists.txt"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled = false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
dexOptions {
|
|
}
|
|
|
|
flavorDimensions "tier"
|
|
productFlavors {
|
|
libre {
|
|
applicationIdSuffix = ".libre"
|
|
versionNameSuffix "-libre"
|
|
buildConfigField "boolean", "FULL_VERSION", "true"
|
|
buildConfigField "boolean", "GOOGLE_PLAY_VERSION", "false"
|
|
}
|
|
pro_google {
|
|
applicationIdSuffix = ".pro"
|
|
versionNameSuffix "-pro"
|
|
buildConfigField "boolean", "FULL_VERSION", "true"
|
|
buildConfigField "boolean", "GOOGLE_PLAY_VERSION", "true"
|
|
}
|
|
free_google {
|
|
applicationIdSuffix = ".free"
|
|
versionNameSuffix "-free"
|
|
buildConfigField "boolean", "FULL_VERSION", "false"
|
|
buildConfigField "boolean", "GOOGLE_PLAY_VERSION", "true"
|
|
}
|
|
}
|
|
}
|
|
|
|
def supportVersion = "25.4.0"
|
|
def spongycastleVersion = "1.58.0.0"
|
|
|
|
dependencies {
|
|
androidTestCompile "junit:junit:4.12"
|
|
compile "com.android.support:appcompat-v7:$supportVersion"
|
|
compile "com.android.support:design:$supportVersion"
|
|
compile "com.android.support:preference-v7:$supportVersion"
|
|
compile "com.android.support:preference-v14:$supportVersion"
|
|
compile "com.android.support:cardview-v7:$supportVersion"
|
|
compile "com.madgag.spongycastle:core:$spongycastleVersion"
|
|
compile "com.madgag.spongycastle:prov:$spongycastleVersion"
|
|
compile "joda-time:joda-time:2.9.9"
|
|
compile "org.sufficientlysecure:html-textview:3.5"
|
|
compile "com.nononsenseapps:filepicker:4.1.0"
|
|
}
|