35 lines
1.3 KiB
Groovy
35 lines
1.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace "net.moasdawiki.app"
|
|
compileSdkVersion 33 // 33 = Android 13
|
|
defaultConfig {
|
|
applicationId "net.moasdawiki.app"
|
|
minSdkVersion 28 // 28 = Android 9
|
|
targetSdkVersion 33 // should be same as compileSdkVersion
|
|
versionCode 35
|
|
versionName "3.6.0.0"
|
|
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
lint {
|
|
// Workaround for KotlinNullPointerException in :app:lintVitalAnalyzeRelease
|
|
checkReleaseBuilds false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'net.moasdawiki:moasdawiki-server:3.6.0'
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
// androidx.appcompat:appcompat:1.5.0 causes dependency conflict, waiting for 1.6
|
|
// https://stackoverflow.com/questions/73406969/duplicate-class-androidx-lifecycle-viewmodellazy-found-in-modules-lifecycle-view
|
|
implementation 'androidx.appcompat:appcompat:1.4.2'
|
|
// androidx.preference 1.2.0 causes dependency conflict
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
compileOnly 'org.jetbrains:annotations:23.1.0'
|
|
testImplementation 'org.testng:testng:7.7.1'
|
|
}
|