2020-01-04 19:43:49 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
|
|
android {
|
2021-12-25 15:53:27 +01:00
|
|
|
compileSdkVersion 31 // 31 = Android 12
|
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
|
|
|
|
|
targetSdkVersion 31 // should be same as compileSdkVersion
|
|
|
|
|
versionCode 28
|
|
|
|
|
versionName "3.1.0.0"
|
2020-01-04 19:43:49 +01:00
|
|
|
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
|
|
|
|
}
|
|
|
|
|
sourceSets {
|
2020-10-11 18:52:55 +02:00
|
|
|
main {
|
2020-01-04 19:43:49 +01:00
|
|
|
java {
|
|
|
|
|
exclude "net/moasdawiki/plugin/sync/SynchronizationPlugin*"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2021-06-09 22:10:53 +02:00
|
|
|
implementation 'net.moasdawiki:moasdawiki-server:2.6.1'
|
2020-01-04 19:43:49 +01:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2021-12-25 15:53:55 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
2020-09-08 22:43:28 +02:00
|
|
|
implementation 'androidx.preference:preference:1.1.1'
|
2021-12-25 15:53:55 +01:00
|
|
|
compileOnly 'org.jetbrains:annotations:22.0.0'
|
2021-05-08 22:37:11 +02:00
|
|
|
testImplementation 'org.testng:testng:7.4.0'
|
2020-01-04 19:43:49 +01:00
|
|
|
}
|