kordamp / kordamp-gradle-plugins

A collection of Gradle plugins
https://kordamp.org/kordamp-gradle-plugins/
Apache License 2.0
138 stars 25 forks source link

[Clirr] Replace with Revapi #490

Closed musketyr closed 1 year ago

musketyr commented 2 years ago

As the Clirr does not work well on Java 8+, it would be great if there is also a support for Revapi

https://github.com/revapi/revapi

aalmiray commented 2 years ago

I believe Clirr works with Java 8, I made sure of that. However it might not work with Java 12+.

The Revapi gradle plugin is made by Palantir which means I'd have to build a Revapi gradle plugin from scratch.

musketyr commented 2 years ago

Ok, it might be my bad understanding of this article

https://massol.myxwiki.org/xwiki/bin/view/Blog/ByeByeCLIRRWelcomeRevapi

Tt actually looks that only Maven plugin is not supported on Java 8+.

aalmiray commented 2 years ago

Yeah, the Clirr binary used by Kordamp repackages BCEL woth a newer version that can be used with Java 8, however it's likely Java 12+ may not be supported due to syntax changes.

I could also have a look for a more recent version of BCEL (if it exists) and repackage it again.

Revapi would still be an option but as mentioned earlier it would have to be built from scratch.

aalmiray commented 1 year ago

Clirr support has been removed. There are no current plans to support similar plugins at the moment.