List dependencies of ShadowJar

Morning,

I want to create a task in Kotlin that list all dependencies included in Shaded Jar created by plugin and executes after it.

Best regards,
WaterKnight