kotlin-material-ui icon indicating copy to clipboard operation
kotlin-material-ui copied to clipboard

Lab 0.5.5 invalid dependencies

Open ionspin opened this issue 3 years ago • 1 comments

Published lab 0.5.5 artifact seems to contain invalid dependency, if you look at the published module at https://dl.bintray.com/subroh0508/maven/net/subroh0508/kotlinmaterialui/lab/0.5.5/:lab-0.5.5.module you can observe a dependancy to subroh0508.net.kotlinmaterialui

...
    "dependencies": [
        {
          "group": "subroh0508.net.kotlinmaterialui",
          "module": "core",
          "version": {
            "requires": "0.5.5"
          }
        },
...

This causes gradle resolution to fail when trying to use lab library.

   > Could not find subroh0508.net.kotlinmaterialui:core:0.5.5.
     Searched in the following locations:
       - https://dl.bintray.com/subroh0508/maven/subroh0508/net/kotlinmaterialui/core/0.5.5/core-0.5.5.pom
     Required by:
         project :memento-identity-backend > net.subroh0508.kotlinmaterialui:lab:0.5.5

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html


ionspin avatar Mar 10 '21 09:03 ionspin

To workaround this issue, I do:

implementation("net.subroh0508.kotlinmaterialui:core:0.5.5")
implementation("net.subroh0508.kotlinmaterialui:lab:0.5.5") {
    exclude("subroh0508.net.kotlinmaterialui", "core")
}

lucgirardin avatar Mar 10 '21 10:03 lucgirardin