Skip to content

Relocation Duplicates kotlin.kotlin_builtins #295

@maezred

Description

@maezred

Please check the (User Guide)[http://imperceptiblethoughts.com/shadow] before submitting "how do I do 'x'?" questions!
I'm still a little new to Gradle, so I'm not sure if this is an issue or just me misusing everything. Thanks!

Shadow Version

1.2.4

Gradle Version

3.5

Expected Behavior

kotlin.kotlin_builtins is moved to cafe.neso.bouncer.minecraft.lib.kotlin.kotlin_builtins
I'm not sure if this is what I want or what would fix this issue. I'm getting this exception specifically:
java.lang.IllegalStateException: Resource not found in classpath: cafe/neso/minecraft/bouncer/lib/kotlin/cafe.neso.minecraft.bouncer.lib.kotlin.cafe.neso.minecraft.bouncer.lib.kotlin_builtins

Actual Behavior

kotlin.kotlin_builtins is moved from kotlin to cafe/neso/bouncer/minecraft/lib/kotlin but the package remains as kotlin in the file, while other files appear to be referencing cafe.neso.bouncer.minecraft.lib.kotlin.cafe.neso.bouncer.minecraft.lib.kotlin.kotlin_builtins (note the duplication)

Gradle Build Script(s)

https://gist.github.com/moltendorf/2735da9fa626b4fc2aab49a0eb3eca6e

Content of Shadow JAR (jar tf <jar file> - post link to GIST if too long)

https://gist.github.com/moltendorf/2735da9fa626b4fc2aab49a0eb3eca6e#file-jar-files

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