Commit Graph

4 Commits

Author SHA1 Message Date
Andy Wilkinson
039666a688 Upgrade to Gradle Enterprise Conventions 0.0.7
Closes gh-24175
2020-11-17 14:27:48 +00:00
Andy Wilkinson
b6569bb075 Upgrade to Gradle Enterprise Maven Extension 1.6.3
Closes gh-23113
2020-08-28 15:59:30 +01:00
Andy Wilkinson
60ff87155f Polish "Add Gradle Enterprise Extension"
See gh-22089
2020-07-24 11:51:52 +01:00
Nelson Osacky
e41a53cf85 Add Gradle Enterprise Extension
This adds build caching and build scans.

The changes required disabling scans when using the maven invoker
plugin in order to not cause duplicate build scans when invoking other
maven builds. There is also an empty `.mvn` folder in the
spring-boot-starters project to prevent duplicate build scans as well
since there is no way to pass properties to the maven-javadoc-plugin.

The checkstyle plugin was causing a cache miss with the
`propertyExpansion` because it contains an absolute path. The absolute
path is now ignored and instead the files are added as inputs to the
checkstyle plugin. This only enables the local build cache. The remote
cache is not yet enabled.

On my local machine:

./mvnw clean install build times go from about 30 minutes to about 10 minutes.
./mvnw clean install -Pfull build times go from about 60 minutes to about 13 minutes.

See gh-22089
2020-07-24 11:47:24 +01:00