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 {
2022-10-08 20:44:06 +02:00
namespace "net.moasdawiki.app"
2023-11-01 21:18:04 +01:00
compileSdk 34 // 34 = Android 14
2020-01-04 19:43:49 +01:00
defaultConfig {
applicationId "net.moasdawiki.app"
2023-08-05 22:01:20 +02:00
minSdk 28 // 28 = Android 9
2023-11-01 21:18:04 +01:00
targetSdk 34 // should be same as compileSdk
2023-11-15 21:16:06 +01:00
versionCode 40
versionName "3.6.3.1"
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 {
buildConfig true
}
2023-11-15 21:13:49 +01:00
lintOptions {
// Workaround for NullPointerException in :app:lintVitalAnalyzeRelease in fdroid build
checkReleaseBuilds false
}
2023-08-05 22:01:20 +02:00
base {
archivesName = "moasdawiki-" + defaultConfig.versionName + "-" + defaultConfig.versionCode
}
2020-01-04 19:43:49 +01:00
}
dependencies {
2023-11-01 21:11:40 +01:00
api 'net.moasdawiki:moasdawiki-server:3.6.3'
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'
}
2023-04-29 16:14:10 +02:00
compileOnly 'org.jetbrains:annotations:24.0.1'
2020-01-04 19:43:49 +01:00
}