scummvm/dists/android/build.gradle
antoniou af5218d128
Some checks failed
CI / Windows (push) Has been cancelled
CI / Xcode (push) Has been cancelled
ANDROID: update comment on build.gradle
For Store release version
2020-10-25 13:52:41 +02:00

83 lines
2.4 KiB
Groovy

buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
}
}
dependencies {
repositories {
google()
jcenter()
}
}
// Enable to see use of depracted API
// tasks.withType(JavaCompile) {
// options.compilerArgs << "-Xlint:deprecation"
// }
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
ndkVersion "21.3.6528147"
defaultConfig {
applicationId "org.scummvm.scummvm"
setProperty("archivesBaseName", "ScummVM")
minSdkVersion 16
targetSdkVersion 28
versionName "2.2.1d"
versionCode 61
// versioncode must be incremented for each market upload
// ScummVM 2.3.0: 65-68 (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// Historical version codes:
// ScummVM 2.2.1: 61-64 Play Store release version for 2.2.1 (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.2.1: 57-60 Beta 3 (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.2.1: 53-56 Beta 2 (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.2.1: 49-52 Beta 1 (29 Sep 2020) (arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.2.0: 45-48 (arm-v7a, arm64-v8a, x86, x86_64 respectively -- armeabi was dropped)
// ScummVM 2.1.1: 40-44 (armeabi, arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.1.0: 35-39 (armeabi, arm-v7a, arm64-v8a, x86, x86_64 respectively)
// ScummVM 2.0.0: 30-34
// ScummVM 1.9.0.1: 25-28
// ScummVM 1.9.0: 19
// ScummVM 1.8.1: 15
}
buildTypes {
debug{
debuggable true
}
release {
debuggable false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
zipAlignEnabled true
}
}
sourceSets {
main {
assets.srcDirs 'assets/'
java.srcDirs srcdir + '/backends/platform/android/'
jniLibs.srcDirs 'lib/'
res.srcDirs srcdir + '/dists/android/res/'
manifest.srcFile srcdir + '/dists/android/AndroidManifest.xml'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation "androidx.annotation:annotation:1.1.0"
}