greclipse is downloading run time dependencies to P2 repo of 138MB
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- groovy
- Domain
- build-system
Research direction
The issue names the Gradle Spotless plugin, the greclipse formatter, and the ~/.m2/repository/dev/equo/p2-data cache; start by tracing greclipse dependency resolution during spotless check. Compare available formatter alternatives for Groovy build.gradle files and verify whether the 138 MB runtime download can be avoided or cached; done requires a documented, supported path.
Written by the indexing model from the issue text.
Description
We upgraded to gradle spotless plugin 8 from spotless 5 and recently noticed our pipelines slowed down. Then noticed there are some dependencies being downloaded at run time for spotless check. And these are related to greclipse.
94M ~/.m2/repository/dev/equo/p2-data/bundle-pool/download.eclipse.org--EJM2QXrlNDLw7z5SNWvx4w--clipseupdates-4.35-R-4.35-202502280140-/
33M ~/.m2/repository/dev/equo/p2-data/bundle-pool/https-groovy.jfrog.io-artifactory-plugin--ldtmrg6m1JSts76B3o3M0Q---groovy-eclipse-integration-5.7.0-e4.35-/
11M ~/.m2/repository/dev/equo/p2-data/nested-jars
344K ~/.m2/repository/dev/equo/p2-data/metadata
44K ~/.m2/repository/dev/equo/p2-data/queries
We can use internal repos and cache to speed it up. But it makes no sense for me to download 138 MB worth of deps just for formatting groovy. Is there any alternative to greclipse? We use groovy mainly for build.gradle files.
- Dominant language
- Java
- Stars
- 5.7k
- Forks
- 560
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 43
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/spotless
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
All issues in diffplug/spotless
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
checkstyle/test-configs#263 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·