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]) }