Our build currently resolves 4 configurations at configuration time:
:spring-boot-project:spring-boot-cli:loader
:spring-boot-project:spring-boot-tools:spring-boot-loader-tools:loader
:spring-boot-project:spring-boot-tools:spring-boot-loader-tools:jarmode
:spring-boot-project:spring-boot:tomcatDistribution
We need to defer our use of zipTree
so that the configuration that provides the zip that's being copied or synced isn't resolved until execution time.