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:
parent
5eeee2215b
commit
7566cbb24a
1 changed files with 3 additions and 9 deletions
|
@ -54,20 +54,14 @@ android {
|
|||
buildTypes {
|
||||
getByName("release") {
|
||||
// Don't add local save files and fonts to release, obviously
|
||||
aaptOptions {
|
||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
||||
}
|
||||
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
||||
}
|
||||
|
||||
getByName("debug") {
|
||||
// Don't add local save files and fonts to release, obviously
|
||||
aaptOptions {
|
||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music"
|
||||
}
|
||||
}
|
||||
}
|
||||
aaptOptions {
|
||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
||||
}
|
||||
lintOptions {
|
||||
disable("MissingTranslation")
|
||||
|
|
Loading…
Reference in a new issue