prevent another error
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s

This commit is contained in:
moehreag 2024-06-11 03:16:11 +02:00
parent 181462f0b4
commit 5f74d32c1a

View file

@ -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(