Files
KeePassDX/app/build.gradle

85 lines
2.7 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion = 26
buildToolsVersion = "27.0.1"
defaultConfig {
applicationId "com.kunzisoft.keepass"
minSdkVersion 14
targetSdkVersion 26
versionCode = 3
versionName = "2.5.0.0beta3"
testApplicationId = "com.keepassdroid.tests"
testInstrumentationRunner = "android.test.InstrumentationTestRunner"
ndk {
abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a',
'arm64-v8a', 'mips', 'mips64'
}
}
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"
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
def supportVersion = "26.1.0"
def spongycastleVersion = "1.58.0.0"
dependencies {
androidTestImplementation files('libs/junit4.jar')
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support:preference-v7:$supportVersion"
implementation "com.android.support:preference-v14:$supportVersion"
implementation "com.android.support:cardview-v7:$supportVersion"
implementation "com.madgag.spongycastle:core:$spongycastleVersion"
implementation "com.madgag.spongycastle:prov:$spongycastleVersion"
implementation "joda-time:joda-time:2.9.9"
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.1'
implementation group: 'com.google.guava', name: 'guava', version: '22.0-android'
implementation "org.sufficientlysecure:html-textview:3.5"
implementation "com.nononsenseapps:filepicker:4.1.0"
}