mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-10-26 14:34:00 +00:00
Lazily add deps, so it actually works
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user