34 lines
1008 B
Groovy
34 lines
1008 B
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 29 // 29 = Android 10
|
|
defaultConfig {
|
|
applicationId "net.moasdawiki.app"
|
|
minSdkVersion 26 // 26 = Oreo 8.0
|
|
targetSdkVersion 29 // should be same as compileSdkVersion
|
|
versionCode 14
|
|
versionName "2.1.0.0"
|
|
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
|
|
}
|
|
sourceSets {
|
|
main{
|
|
java {
|
|
exclude "net/moasdawiki/plugin/sync/SynchronizationPlugin*"
|
|
}
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'net.moasdawiki:moasdawiki-server:2.1.0'
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.preference:preference:1.1.0'
|
|
compileOnly 'org.jetbrains:annotations:18.0.0'
|
|
testImplementation 'org.testng:testng:6.14.3'
|
|
}
|