Skip to content

Projects not modular, duplicate packages across JARs #3204

Open
@credmond

Description

@credmond

There are projects that "export" the same packages (com.squareup.wire).

E.g.: wire.runtime.jvm and wire.schema.jvm

...which leads to errors like this, when building modular projects.

Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules wire.runtime.jvm and wire.schema.jvm export package com.squareup.wire to module <something>

I don't know about the KT world, but this in a breach of JPMS guidelines.

Why can't we have modules-info.java or at least why do you have different JARs with the same packages?

Or am I missing something altogether in how to use these libs...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions