New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ANTLR Version mismatch #29
Comments
A fairly standard practice for libraries is to jarjar ANTLR (move it to a different package) and include it that way (example androidx.room annotation processor) . While this comes at the cost of larger binary size, it means you are not forcing ANTLR version onto downstream users. Ideally, this library did the same. |
@liutikas Seems not unreasonable. Perhaps we could even have a separate package for people who need to keep things slim. Feel free to propose a pull request to change that. |
Hello, I'm working on a project that uses ANTLR runtime v4.9.1, while Tomlj uses v4.7.2. This gives me the following error:
Note that the Tomlk code still runs, so perhaps the solution is to turn off this error somehow.
I have two options for a quick fix:
However, I'm wondering if there's a way to make this nicer for the future: perhaps the ANTLR dependency could be separated? I'm not quite sure how you've set your project up.
The text was updated successfully, but these errors were encountered: