partiql / partiql-lang-kotlin

PartiQL libraries and tools in Kotlin.
https://partiql.org/
Apache License 2.0
538 stars 60 forks source link

Shadow the ANTLRv4 runtime dependency to avoid conflicts. #1407

Closed RCHowell closed 2 months ago

RCHowell commented 6 months ago

Relevant Issue/Bug

The partiql-parser package uses the ANTLRv4 runtime (4.10.x) which conflicts with other projects that require different minor versions of this dependency. A reasonable solution is to shade (aka re-package) this dependency.

Requested Solution/Feature

The partiql-parser repackages the antlr runtime dependency so customers who need to consume an incompatible minor version of it can consume both.

Describe Alternatives

Additional Context

N/A

DoD (Definition of Done)

  1. The partiql-parser library does not have an antlr runtime dependency*
  2. The antlr runtime dependency is shadowed (aka move the package name to avoid conflicts)
  3. The generated sources use the shaded names
alancai98 commented 2 months ago

Closed by #1439.