dokkan-battle-bot/BotZone2.8v1 Android/android-database-sqlcipher/android-database-sqlcipher/build.gradle
2019-11-09 20:56:48 +00:00

49 lines
1.2 KiB
Groovy

apply plugin: "com.android.library"
apply plugin: "org.ec4j.editorconfig"
apply from: "native.gradle"
apply from: "maven.gradle"
android {
compileSdkVersion "${compileAndroidSdkVersion}" as Integer
defaultConfig {
versionName "${clientVersionNumber}"
minSdkVersion "${minimumAndroidSdkVersion}"
targetSdkVersion "${targetAndroidSdkVersion}"
versionCode 1
versionName "${clientVersionNumber}"
archivesBaseName = "${archivesBaseName}-${versionName}"
}
editorconfig {
includes = ["src/**", "*.gradle"]
excludes = ["src/main/external/sqlcipher/**", "src/main/external/openssl-*/**"]
}
buildTypes {
debug {
debuggable true
}
release {
debuggable false
minifyEnabled false
}
}
sourceSets {
main {
jniLibs.srcDirs "${rootProject.ext.nativeRootOutputDir}/libs"
}
}
dependencies {
implementation "androidx.sqlite:sqlite:2.0.1"
}
clean.dependsOn cleanNative
check.dependsOn editorconfigCheck
buildNative.mustRunAfter buildAmalgamation
buildAmalgamation.mustRunAfter buildOpenSSL
preBuild.dependsOn([buildOpenSSL, buildAmalgamation, buildNative])
}