this may be another mor-gradle-than kotlin questi...
# gradle
n
this may be another mor-gradle-than kotlin question, i am trying to do a mavenPublication and shadow in some dependecies with shadowJar (kotlin-stdlib, kotlin-reflection and coroutines but thats deside the point) when i use shadowjar it wipes all dependnecy inforfmation, so those other compile configurations are not listed in the pom does anybody know how do avoid that ?
i
Do you want to publish shadowJar in addition to normal jar?
In that case you can put the plugin to the script classpath but without applying it (
apply false
parameter) and then create a
ShadowJar
task manually.
n
the issue is more like.. i want to shadow only some dependencies, but the rest of the dependecies still need to be added to the pom
and pass in api, compilea and implementation configurations, seems to work so far