mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-12-01 03:16:58 -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 generateScratchJrPNGs(type: GenerateScratchJrPNGsTask)
|
||||||
task cleanScratchJrResources(type: CleanScratchJrResourcesTask)
|
task cleanScratchJrResources(type: CleanScratchJrResourcesTask)
|
||||||
assemble.dependsOn switchToFree
|
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
preBuild.dependsOn generateWebpackBundle
|
preBuild.dependsOn generateWebpackBundle
|
||||||
processFreeDebugGoogleServices.dependsOn switchToFreeGA
|
processFreeDebugGoogleServices.dependsOn switchToFreeGA
|
||||||
processFreeReleaseGoogleServices.dependsOn switchToFreeGA
|
processFreeReleaseGoogleServices.dependsOn switchToFreeGA
|
||||||
|
|
||||||
|
generateFreeReleaseResources.dependsOn switchToFree
|
||||||
|
generateFreeDebugResources.dependsOn switchToFree
|
||||||
generateFreeReleaseResources.dependsOn generateScratchJrPNGs
|
generateFreeReleaseResources.dependsOn generateScratchJrPNGs
|
||||||
generateFreeDebugResources.dependsOn generateScratchJrPNGs
|
generateFreeDebugResources.dependsOn generateScratchJrPNGs
|
||||||
generateScratchJrPNGs.mustRunAfter switchToFree
|
generateScratchJrPNGs.mustRunAfter switchToFree
|
||||||
|
|
Loading…
Reference in a new issue