Closed jzheaux closed 1 month ago
The above did not quite work since the Spring Gradle Enterprise Conventions plugin needs to set the server
value and the Develocity plugin does not allow it to be overridden.
Another way to do this is to only apply the Spring Gradle Enterprise Conventions plugin when enterprise credentials are present:
if (System.getenv("DEVELOCITY_ACCESS_KEY")) {
apply plugin: "io.spring.ge.conventions"
}
This works because the DEVELOCITY_ACCESS_KEY
credential is not available to PRs. GIven that, it can't exercise the Conventions feature set anyway.
For the
5.8.x
branch, using the--scan
attribute does not work per the following from Gradle:As such,
--scan
needs to be removed for the moment and likely replaced with a recommendation like the following: