If I try to use the Antlr Gradle plugin with the M...
# gradle
e
If I try to use the Antlr Gradle plugin with the Multiplatform plugin I cannot build since it applies the Java Library plugin. What's the solution here?
v
Probably just doing the parts you need from the plugin manually.
e
Damn that's gonna be a lot of work
Maybe I'll just call the ANTLR .jar file directly instead of passing by the plugin.
But this new KGP restriction is definitely not user-friendly.
v
The plugin is probably not doing much. I meant the plugin itself. You do not need to reinvent the task
e
Thanks! Indeed, that could have been the way. I ended up replacing the built-in plugin with the antlr-kotlin one. https://github.com/Strumenta/antlr-kotlin/pull/204/commits/7c50479a1a37d233b224755185d046c882e92222
👌 1