perkeep/clients/android/app/build.gradle

56 lines
1.3 KiB
Groovy

/*
* Copyright 2017 The Perkeep Authors.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
apply plugin: 'com.android.application'
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android {
compileSdkVersion 32
defaultConfig {
applicationId "org.camlistore"
minSdkVersion 26
targetSdkVersion 32
versionCode 7
versionName "0.11"
}
packagingOptions {
jniLibs.useLegacyPackaging = true
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
signingConfigs {
release {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
release {
minifyEnabled false
signingConfig signingConfigs.release
}
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
}