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"
|
2022-09-05 13:19:28 +02:00
|
|
|
compileSdkVersion 33 // 33 = Android 13
|
2020-01-04 19:43:49 +01:00
|
|
|
defaultConfig {
|
|
|
|
|
applicationId "net.moasdawiki.app"
|
2021-12-25 15:53:27 +01:00
|
|
|
minSdkVersion 28 // 28 = Android 9
|
2022-09-05 13:19:28 +02:00
|
|
|
targetSdkVersion 33 // should be same as compileSdkVersion
|
2023-01-01 12:04:49 +01:00
|
|
|
versionCode 35
|
|
|
|
|
versionName "3.6.0.0"
|
2020-01-04 19:43:49 +01:00
|
|
|
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
2022-04-14 19:49:03 +02:00
|
|
|
lint {
|
2021-12-29 22:29:31 +01:00
|
|
|
// Workaround for KotlinNullPointerException in :app:lintVitalAnalyzeRelease
|
|
|
|
|
checkReleaseBuilds false
|
|
|
|
|
}
|
2020-01-04 19:43:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2023-01-01 12:04:00 +01:00
|
|
|
implementation 'net.moasdawiki:moasdawiki-server:3.6.0'
|
2020-01-04 19:43:49 +01:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2023-01-01 12:03:14 +01:00
|
|
|
// androidx.appcompat:appcompat:1.5.0 causes dependency conflict, waiting for 1.6
|
2022-09-05 13:19:28 +02:00
|
|
|
// https://stackoverflow.com/questions/73406969/duplicate-class-androidx-lifecycle-viewmodellazy-found-in-modules-lifecycle-view
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.2'
|
2022-04-14 19:49:03 +02:00
|
|
|
// androidx.preference 1.2.0 causes dependency conflict
|
2020-09-08 22:43:28 +02:00
|
|
|
implementation 'androidx.preference:preference:1.1.1'
|
2023-01-01 12:03:14 +01:00
|
|
|
compileOnly 'org.jetbrains:annotations:23.1.0'
|
|
|
|
|
testImplementation 'org.testng:testng:7.7.1'
|
2020-01-04 19:43:49 +01:00
|
|
|
}
|