editorconfig-gradle-plugin icon indicating copy to clipboard operation
editorconfig-gradle-plugin copied to clipboard

editorconfigCheck fails due to incompatible version of antlr4-runtime, take two

Open climategadgets opened this issue 11 months ago • 7 comments

Original submission: #7

Expected Behavior

./gradlew editorconfigCheck passes, or fails with a syntax related message

Actual Behavior

ANTLR Tool version 4.7 used for code generation does not match the current runtime version 4.13.0
ANTLR Runtime version 4.7 used for parser compilation does not match the current runtime version 4.13.0

To Reproduce

Execute this sequence:

git clone https://github.com/home-climate-control/dz.git
git checkout 63a749891de487f6910769bca237019fcd42877a
cd dz
./gradlew editorconfigCheck

Additional Context

I was tempted to just force resolution, but then looked at what wants the newer version of antlr4-runtime, and that would be the org.springframework.boot and io.quarkus plugins, so I thought it would be reasonable to ask to please bump the dependencies' versions to catch up with those two :)

Run ./gradlew buildEnvironment to see where exactly antlr4-runtime version is changed. Note the (c) in Quarkus subtree - that dependency tree is constrained with enforcePlatform(), trying to change it would be painful.

PS: Hope this helps a bit: https://github.com/ben-manes/gradle-versions-plugin

climategadgets avatar Mar 20 '24 04:03 climategadgets