34 lines
1.0 KiB
Groovy
34 lines
1.0 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 28
|
|
versionName "3.1.0.0"
|
|
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
|
}
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
exclude "net/moasdawiki/plugin/sync/SynchronizationPlugin*"
|
|
}
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'net.moasdawiki:moasdawiki-server:2.6.1'
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
compileOnly 'org.jetbrains:annotations:21.0.1'
|
|
testImplementation 'org.testng:testng:7.4.0'
|
|
}
|