prevent another error
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s
This commit is contained in:
parent
181462f0b4
commit
5f74d32c1a
|
@ -36,10 +36,12 @@ object Nester {
|
|||
}.get()
|
||||
path.createDirectories()
|
||||
val target = path.resolve(location.file.fileName.toString())
|
||||
Files.copy(location.file, target)
|
||||
files.add(
|
||||
NestedJar(location.modId, target.absolute().toString())
|
||||
)
|
||||
if (target.notExists()) {
|
||||
Files.copy(location.file, target)
|
||||
files.add(
|
||||
NestedJar(location.modId, target.absolute().toString())
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
configuration.resolvedConfiguration.firstLevelModuleDependencies.forEach { dep ->
|
||||
|
@ -135,4 +137,4 @@ class NestedJar(val id: String, val path: String){
|
|||
config.add("path", path)
|
||||
return config
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue