mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-12 16:59:11 +07:00
Got the aapt options to ignore the mods! We can now add mod when testing without worrying that they will make their way into the apk =D
This commit is contained in:
@ -54,20 +54,14 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
getByName("release") {
|
getByName("release") {
|
||||||
// Don't add local save files and fonts to release, obviously
|
// Don't add local save files and fonts to release, obviously
|
||||||
aaptOptions {
|
|
||||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
|
||||||
}
|
|
||||||
|
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = false
|
||||||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
||||||
}
|
}
|
||||||
|
|
||||||
getByName("debug") {
|
}
|
||||||
// Don't add local save files and fonts to release, obviously
|
aaptOptions {
|
||||||
aaptOptions {
|
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
||||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
lintOptions {
|
lintOptions {
|
||||||
disable("MissingTranslation")
|
disable("MissingTranslation")
|
||||||
|
Reference in New Issue
Block a user