status icon cache now works, even with minified code
This commit is contained in:
parent
6e0c32b17d
commit
608e07a761
5 changed files with 128 additions and 40 deletions
|
|
@ -7,6 +7,7 @@ apply from: 'build-definitions.gradle'
|
|||
apply from: 'build-dictionaries.gradle'
|
||||
apply from: 'validate-languages.gradle'
|
||||
apply from: 'help-tools.gradle'
|
||||
apply from: 'status-icon-tools.gradle'
|
||||
apply from: 'version-tools.gradle'
|
||||
|
||||
|
||||
|
|
@ -63,6 +64,12 @@ tasks.register('generateDocs') {
|
|||
}
|
||||
}
|
||||
|
||||
tasks.register('updateStatusIcons') {
|
||||
doLast {
|
||||
updateStatusIconCache(DEFINITIONS_INPUT_DIR, ICONS_DIR, ICONS_JAVA_FILE)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('updateManifest') {
|
||||
doLast {
|
||||
updateManifestVersion(getVersionCode(), getVersionName())
|
||||
|
|
@ -141,6 +148,8 @@ android {
|
|||
|
||||
applicationVariants.configureEach { variant ->
|
||||
def variantName = variant.name.capitalize()
|
||||
tasks.named("javaPreCompile${variantName}")?.configure {dependsOn(updateStatusIcons) }
|
||||
|
||||
[
|
||||
"merge${variantName}Assets",
|
||||
"lintAnalyze${variantName}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue