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:3.1.0' implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.4.0' implementation 'androidx.preference:preference:1.1.1' compileOnly 'org.jetbrains:annotations:22.0.0' testImplementation 'org.testng:testng:7.4.0' }