Strumenta / antlr-kotlin

Support for Kotlin as a target for ANTLR 4
Apache License 2.0
222 stars 47 forks source link

Cleanup build scripts and restore ability to publish to a private repository #115

Closed lppedd closed 8 months ago

lppedd commented 9 months ago

I've just cleaned up the build sources, and restored the ability to use a private repository to publish to.
I need the private one for testing new features/refactorings outside of my machine.

This should be merged before #114.

lppedd commented 9 months ago

Converted to draft to re-verify a couple things. Should be ready in 30 minutes.

lppedd commented 9 months ago

Not sure what's going on but my project doesn't compile correctly anymore with artifacts published to my private repo.
Need to investigate.

lppedd commented 9 months ago

As discussed the issue is in the way Gradle's antlr plugin fiddles with source sets when it is applied.
To keep it short, that plugin makes a mess when Kotlin Multiplatform is involved, but works fine with projects targeting Java only.

We are forced to go back and use a custom plugin.