openrewrite / openrewrite/rewrite
Upgrade com.gradle:develocity-gradle-plugin to version 4
Open
Nobody has claimed this yet.
dependencies
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 570
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 261
Description
Our CI suddenly started failing with:
/home/runner/work/rewrite/rewrite/rewrite-gradle/src/main/groovy/RewriteSettings.groovy: 19: unable to resolve class com.gradle.enterprise.gradleplugin.GradleEnterpriseExtension
> Task :rewrite-gradle:compileGroovy FAILED
@ line 19, column 1.
Created user preferences directory.
import com.gradle.enterprise.gradleplugin.GradleEnterpriseExtension
^
[...]
It turned out it was after upgrade of com.gradle:develocity-gradle-plugin from 3.19.2 to 4.
For now, the 3.x version was pinned. Need to upgrade.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in rewrite-gradle/src/main/groovy/RewriteSettings.groovy at the GradleEnterpriseExtension import and locate the build configuration that pins com.gradle:develocity-gradle-plugin at 3.x. Check the plugin 4 API and the CI compile task; done means the project builds without the unresolved-class error while using version 4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100