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,12 +36,14 @@ object Nester {
|
|||
}.get()
|
||||
path.createDirectories()
|
||||
val target = path.resolve(location.file.fileName.toString())
|
||||
if (target.notExists()) {
|
||||
Files.copy(location.file, target)
|
||||
files.add(
|
||||
NestedJar(location.modId, target.absolute().toString())
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
configuration.resolvedConfiguration.firstLevelModuleDependencies.forEach { dep ->
|
||||
dep.moduleArtifacts.forEach { artifact ->
|
||||
val location = addMetadata(
|
||||
|
|
Loading…
Reference in a new issue