Closed
Description
summary of problem
There is a huge gap in configuration time when spotless plugin is applied in a multi-project build between windows and linux.
I've created a multiproject build with 150 projects to test this out:
Configuration time with spotless plugin
- 5 seconds in linux
- between 1m 30s and 2m in windows.
Configuration time without spotless plugin
- 0.6 seconds in linux
- 1 seconds in windows.
In windows the difference is overwhelming, slowing down the overall build time.
versions
Java 1.8
Spotless 3.15.0
Gradle 4.10.2
Windows 10
example project: projectA.zip
In projectA.gradle
there is a boolean variable to activate spotless plugin called spotless_plugin
. You can try to enable and disable it.
you can test this running from within the root projectA:
linux ./gradlew clean build --parallel --scan
windows gradlew.bat clean build --parallel --scan