Files
moasdawiki-app/app/build.gradle
T

36 lines
1.2 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-08-05 22:01:20 +02:00
compileSdk 33 // 33 = Android 13
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
targetSdk 33 // should be same as compileSdk
2023-04-29 16:14:47 +02:00
versionCode 36
versionName "3.6.1.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 {
buildConfig true
}
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-04-29 16:14:38 +02:00
implementation 'net.moasdawiki:moasdawiki-server:3.6.1'
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-04-29 16:14:10 +02:00
compileOnly 'org.jetbrains:annotations:24.0.1'
2023-01-01 12:03:14 +01:00
testImplementation 'org.testng:testng:7.7.1'
2020-01-04 19:43:49 +01:00
}