32 lines
1.1 KiB
Groovy
32 lines
1.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 31 // 31 = Android 12
|
|
defaultConfig {
|
|
applicationId "net.moasdawiki.app"
|
|
minSdkVersion 28 // 28 = Android 9
|
|
targetSdkVersion 31 // should be same as compileSdkVersion
|
|
versionCode 29
|
|
versionName "3.2.1.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.4.4'
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
// androidx.preference 1.2.0 causes dependency conflict
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
compileOnly 'org.jetbrains:annotations:23.0.0'
|
|
testImplementation 'org.testng:testng:7.5'
|
|
}
|