Files
commandergenius/project/app/build-template.gradle
Miguel Horta c6fdfc4cbe Pin ndkVersion
Without indicating ndkVersion gradle won't find ndk path and it will
fail to extract debug symbols from binaries. The final result will be a
apk much bigger than needed.
2022-06-30 19:28:04 +01:00

40 lines
958 B
Groovy

plugins {
id 'com.android.application'
}
android {
compileSdk 31
ndkVersion "23.1.7779620"
defaultConfig {
applicationId "net.olofson.ballfield"
minSdk 16
targetSdk 31
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), '../proguard-local.cfg', '../proguard.cfg'
}
releaseWithDebugInfo {
initWith release
ndk {
debugSymbolLevel 'FULL'
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
assetPacks = [":assetpack"] // ==ASSETPACK==
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.gms:play-services-games:21.0.0' // ==GOOGLEPLAYGAMESERVICES==
}