Files
moasdawiki-app/app/build.gradle
T

35 lines
1.3 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"
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
2022-10-15 12:36:47 +02:00
versionCode 33
versionName "3.5.0.1"
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 {
// Workaround for KotlinNullPointerException in :app:lintVitalAnalyzeRelease
checkReleaseBuilds false
}
2020-01-04 19:43:49 +01:00
}
dependencies {
2022-11-12 13:08:33 +01:00
implementation 'net.moasdawiki:moasdawiki-server:3.5.1'
2020-01-04 19:43:49 +01:00
implementation fileTree(include: ['*.jar'], dir: 'libs')
2022-09-05 13:19:28 +02:00
// androidx.appcompat:appcompat:1.5.0 causes dependency conflict, waiting for 1.5.1
// 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'
2022-04-14 19:49:03 +02:00
compileOnly 'org.jetbrains:annotations:23.0.0'
2022-09-05 13:19:28 +02:00
testImplementation 'org.testng:testng:7.6.1'
2020-01-04 19:43:49 +01:00
}