Open pabl0rg opened 7 years ago
I've been looking into this. Fixing --projectInfo
is easy but there is still the issue that the fat jar contains optional dependencies. Fixing this has proved more challenging because my understanding of how Aether works is still limited, so I need to spend more time understanding it.
running
./kobaltw --projectInfo > projectInfo.txt
on https://github.com/pabl0rg/kobalt-mixed-exampleproduces this: projectInfo.txt which makes no mention of android.
However in it's pom, the dependency
com.squareup.retrofit2:retrofit:2.1.0
has an optional dependency on androidwhich can be seen using maven's dependency:tree
Maven's dependency tree is complete, but does not indicate which dependencies are optional. It might be a "plus" if Kobalt could display all dependencies and indicate which ones are optional.