Files
moasdawiki-app/app/build.gradle
T

37 lines
1.1 KiB
Groovy
Raw Normal View History

2020-01-04 19:43:49 +01:00
apply plugin: 'com.android.application'
android {
2025-07-06 20:10:27 +02:00
namespace = "net.moasdawiki.app"
compileSdk = 36 // 36 = Android 16
2020-01-04 19:43:49 +01:00
defaultConfig {
applicationId "net.moasdawiki.app"
2025-08-30 15:36:20 +02:00
minSdk = 33 // 33 = Android 13 Tiramisu
2025-07-06 20:10:27 +02:00
targetSdk = 36 // should be same as compileSdk
2025-07-06 20:31:20 +02:00
versionCode = 47
versionName = "3.9.5.0"
2020-01-04 19:43:49 +01:00
}
compileOptions {
2021-12-25 15:53:27 +01:00
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
2020-01-04 19:43:49 +01:00
}
2023-04-29 16:14:10 +02:00
buildFeatures {
2025-07-06 20:10:27 +02:00
buildConfig = true
2023-04-29 16:14:10 +02:00
}
2023-11-15 21:13:49 +01:00
lintOptions {
// Workaround for NullPointerException in :app:lintVitalAnalyzeRelease in fdroid build
2025-07-06 20:10:27 +02:00
checkReleaseBuilds = false
2023-11-15 21:13:49 +01:00
}
2023-08-05 22:01:20 +02:00
base {
archivesName = "moasdawiki-" + defaultConfig.versionName + "-" + defaultConfig.versionCode
}
2020-01-04 19:43:49 +01:00
}
dependencies {
2025-07-06 20:11:20 +02:00
api 'net.moasdawiki:moasdawiki-server:3.9.5'
2025-08-30 15:35:22 +02:00
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.2.10")
2020-01-04 19:43:49 +01:00
}