Chris Lee
05/01/2024, 11:52 PMval lambdaDistributions = configurations.dependencyScope("lambdaDistributions").get()
val lambdaDistributionsResolvable = configurations.resolvable("lambdaDistributionsResolvable") {
extendsFrom(lambdaDistributions)
}
dependencies {
lambdaDistributions(project(mapOf(
"path" to projects.jsLambdaFunctions.name,
"configuration" to "distZips")))
}
…and something like this on the producer:
val distributionZips = configurations.consumable("distZips")
artifacts {
add(distributionZips.name, distZip)
}
Is that the best pattern? Other patterns / plugins to improve this?tony
05/02/2024, 3:22 AMChris Lee
05/02/2024, 1:15 PM