Project.getProperties() deprecated in Gradle 9 / removed in Gradle 10
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- java
- Domain
- build-system
Research direction
Start at GoomphCacheLocations.initFromProject(), where the issue identifies the deprecated Project.getProperties() call. Check the surrounding property lookup and verify that the Gradle compatibility warning is resolved while the existing goomph_ field lookup behavior remains unchanged.
Written by the indexing model from the issue text.
Description
Project.getProperties() deprecated in Gradle 9 / removed in Gradle 10
With Goomph 4.4.1 and Gradle 9, the following deprecation warning is reported:
The Project.getProperties method has been deprecated. This will fail with an error in Gradle 10.
The problem report points to com.diffplug.eclipse.mavencentral, and the call originates from GoomphCacheLocations.initFromProject():
Object value = project.getProperties().get("goomph_" + field.getName());
This appears to be a straightforward Gradle 10 compatibility issue. Project.getProperties() can be replaced with Project.findProperty() here while preserving the existing lookup behavior:
Object value = project.findProperty("goomph_" + field.getName());
Could this be addressed in a future Goomph release?
- Dominant language
- Java
- Stars
- 137
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
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.
More from diffplug/goomph
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1152 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jenkinsci/blueocean-plugin#5417 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eo-graphs#75 ·