Lazily add deps, so it actually works

This commit is contained in:
ah-OOG-ah committed 2025-06-20 16:34:18 -04:00
1 parent da4e4d05ab
commit dd04399acd
1 file changed
+4 -2
@@ -105,8 +105,10 @@ class UniMixinsPlugin : Plugin<Project> {
}
// Add the sources from the dual set...
shadowSources.dependencies.addAll(shadowImplSources.dependencies.map {
project.dependencies.create("${it.group}:${it.name}:${it.version}:sources")
shadowSources.dependencies.addAllLater(project.provider {
shadowImplSources.dependencies.map {
project.dependencies.create("${it.group}:${it.name}:${it.version}:sources")
}
})
// ...and copy the files into the source jar