Disabling develocity? #4262
-
Over time, the error messages of the gradle develocity plugin have become more prominent. What's a simple way to completely disable that plugin as an external contributor? Even if it were possible to upload build scans and build results from my local machine to your develocity instance, I don't want that to happen on my company laptop. Bonus points for making that part of the general gradle configuration in all the repositories (but I have no idea if you can "recognize" which authors or machines belong to the core team in an automated fashion). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @Bananeweizen ! Sorry about this; wasn't aware this is affected OSS contributors, but thanks for calling it out! I'm not quite sure what the options are, but open to explore those with you. For a start we seem not as standardized in our use of develocity as I'd hoped; Do you recall which project you saw this on? As you'll know the folks at Gradle have rebranded from "Gradle Enterprise" to "Develocity", and we're in the process of adopting those changes, in part with recipes. Here you see an example of a project that's already made the switch recently: openrewrite/rewrite-spring@8ca31b6 Other projects, like our rewrite-build-gradle-plugin still seem to use the older format: https://github.com/openrewrite/rewrite-build-gradle-plugin/blob/c9eddb0dec82d426ce24b6d39a764855aeff1465/settings.gradle.kts#L10 It might make sense to standardize our usage of develocity, and as part of that potentially pull that into a shared configuration that only pushes when an access key is defined. @shanman190 might have some insights and experience to share on this front, which we can then roll out. |
Beta Was this translation helpful? Give feedback.
The previous method invocations to only publish when authenticated were removed during the migration from
gradleEnterprise
todevelocity
and just need to be brought back such that it only publishes when authenticated like had been configured before.Something like this should work in the
rewrite
repo: