How do I add an artifact collection to `Configurat...
# plugin-development
s
How do I add an artifact collection to
Configuration.outgoing.artifacts
lazily? I need to add an artifact based on each domain object in a container but only for production objects, not tests. So I have to do it after the user configures the domain objects.
Looks like I have to use Gradle internal APIs for that. DefaultPublishArtifact and TaskDependencyFactory.