mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 10:05:59 -05:00
ensure ‘switchToFree’ gets run before generating PNGs
The assemble.depends on doens’t seem to ensure that the correct sources are copied to the HTML5 directory
This commit is contained in:
parent
564dc296d3
commit
1be3feb791
1 changed files with 2 additions and 1 deletions
|
@ -91,13 +91,14 @@ class CleanScratchJrResourcesTask extends DefaultTask {
|
|||
|
||||
task generateScratchJrPNGs(type: GenerateScratchJrPNGsTask)
|
||||
task cleanScratchJrResources(type: CleanScratchJrResourcesTask)
|
||||
assemble.dependsOn switchToFree
|
||||
|
||||
afterEvaluate {
|
||||
preBuild.dependsOn generateWebpackBundle
|
||||
processFreeDebugGoogleServices.dependsOn switchToFreeGA
|
||||
processFreeReleaseGoogleServices.dependsOn switchToFreeGA
|
||||
|
||||
generateFreeReleaseResources.dependsOn switchToFree
|
||||
generateFreeDebugResources.dependsOn switchToFree
|
||||
generateFreeReleaseResources.dependsOn generateScratchJrPNGs
|
||||
generateFreeDebugResources.dependsOn generateScratchJrPNGs
|
||||
generateScratchJrPNGs.mustRunAfter switchToFree
|
||||
|
|
Loading…
Reference in a new issue