Files
moasdawiki-app/app/build.gradle
T

40 lines
1.2 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"
2025-08-30 16:28:39 +02:00
compileSdk = 36 // 36 = Android 16 Baklava
2020-01-04 19:43:49 +01:00
defaultConfig {
applicationId "space.hackenslacker.moasdawiki.app"
minSdk = 29 // 29 = Android 10 Q
2025-07-06 20:10:27 +02:00
targetSdk = 36 // should be same as compileSdk
2026-01-02 21:20:50 +01:00
versionCode = 50
versionName = "3.9.7.0"
2020-01-04 19:43:49 +01:00
}
compileOptions {
2026-01-02 21:19:24 +01:00
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
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 {
2026-01-02 21:20:02 +01:00
api 'net.moasdawiki:moasdawiki-server:3.9.7'
2025-08-30 15:35:22 +02:00
2026-01-02 21:18:29 +01:00
compileOnly 'androidx.annotation:annotation:1.3.0'
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation 'androidx.preference:preference:1.2.1'
2025-08-30 15:35:22 +02:00
// Fix duplicate class error
2026-01-02 21:18:29 +01:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.3.0"
testImplementation 'junit:junit:4.13.2'
2020-01-04 19:43:49 +01:00
}