Files
commandergenius/project/app/build-template.gradle
Miguel Horta c9ce3ced58 change: Bump minSdkVersion to 24
Openttd dropped support to not having getifaddrs, and Android only
started shipping ifaddrs.h with SDK 24
2024-04-07 13:51:01 +01:00

42 lines
1.0 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
namespace 'net.olofson.ballfield'
compileSdk 33
ndkVersion "25.2.9519653"
defaultConfig {
applicationId "net.olofson.ballfield"
minSdk 24
targetSdk 33
}
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("androidx.constraintlayout:constraintlayout:2.1.4")
implementation 'com.google.android.gms:play-services-games:23.1.0' // ==GOOGLEPLAYGAMESERVICES==
}