Slackbot
11/24/2022, 11:54 AMVampire
11/24/2022, 12:00 PMLev Chirin
11/24/2022, 12:12 PMLev Chirin
11/24/2022, 3:01 PMdependencies {
rpmConfigurations.forEach { (rpmConfiguration, subproject) ->
rpmConfiguration(project(path = subproject, configuration = "dependencyJars"))
}
}
and once in my file copy task:
val syncFiles by tasks.registering(Copy::class) {
rpmConfigurations.keys.forEach { rpmConfiguration ->
from(configurations[rpmConfiguration])
}
// ...
}
This worked fine! Thanks again! 🙂Vampire
11/24/2022, 3:05 PMCopy
tasks or copy { ... }
closures unless you really want to copy into an existing directory, just overwriting some files.
In most situations you want Sync
or sync { ... }
to make sure there are no old files hanging around.Lev Chirin
11/24/2022, 3:07 PM