Skip to content

The Gradle plugin shades in a number of libraries that should be repackaged #3896

@ZacSweers

Description

@ZacSweers

SQLDelight Version

2.0.0-alpha05

Operating System

MacOS Ventura

Gradle Version

7.6

Kotlin Version

1.8.10

Dialect

N/A

AGP Version

7.4.1

Describe the Bug

There are a bunch of transitive dependencies from the intelliJ core dependency that are repackaged into the gradle plugin jar but not relocated to another package. This causes classloader conflicts with other plugins and their dependencies, such as JNA. It would be ideal if the plugin could relocate any shaded packages where possible to avoid conflicts.

image

Stacktrace

No response

Gradle Build Script

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions