38 lines
1.1 KiB
Groovy
38 lines
1.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace = "net.moasdawiki.app"
|
|
compileSdk = 36 // 36 = Android 16 Baklava
|
|
defaultConfig {
|
|
applicationId "net.moasdawiki.app"
|
|
minSdk = 33 // 33 = Android 13 Tiramisu
|
|
targetSdk = 36 // should be same as compileSdk
|
|
versionCode = 49
|
|
versionName = "3.9.5.1"
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
lintOptions {
|
|
// Workaround for NullPointerException in :app:lintVitalAnalyzeRelease in fdroid build
|
|
checkReleaseBuilds = false
|
|
}
|
|
base {
|
|
archivesName = "moasdawiki-" + defaultConfig.versionName + "-" + defaultConfig.versionCode
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api 'net.moasdawiki:moasdawiki-server:3.9.7'
|
|
|
|
compileOnly 'androidx.annotation:annotation:1.3.0'
|
|
implementation 'androidx.appcompat:appcompat:1.7.1'
|
|
implementation 'androidx.preference:preference:1.2.1'
|
|
// Fix duplicate class error
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.3.0"
|
|
}
|