Files
moasdawiki-app/app/build.gradle
T

39 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-07-06 20:10:27 +02:00
minSdk = 28 // 28 = Android 9
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'
2023-08-05 22:04:17 +02:00
api ('androidx.appcompat:appcompat:1.6.1') {
exclude group: 'org.jetbrains', module: 'annotations'
}
api ('androidx.preference:preference:1.2.1') {
exclude group: 'org.jetbrains', module: 'annotations'
}
2025-07-06 20:28:44 +02:00
compileOnly 'org.jetbrains:annotations:26.0.2'
2020-01-04 19:43:49 +01:00
}