kyle
10/28/2025, 8:08 PMgenerated/com/acme/_generated exclusively.
Task B's writes to a dynamic list of output directories like generated/com/... and generated/foo/.... But when the output contains generated/com, we have a conflict with Task A and caching is disabled due to overlapping outputs.
What I'd like to do is configure outputs for Task B to say it outputs to generated/com/... excluding generated/com/acme/_generated ... I doubt this is possible though.
Any ideas?Eric Haag
10/28/2025, 8:31 PMtaskA/generated/com/acme/_generated, and Task B write to taskB/generated/com, then have a sync task that combines the output beneath generated/kyle
10/28/2025, 8:33 PMpreserve patterns) to merge back to the destination.kyle
10/28/2025, 8:38 PMVampire
10/28/2025, 8:43 PMsrcDir, then every task that properly requests sources like source jar, compilation, static code analyzer, ..... will get the sources wherever they were generated to and also have the necessary task dependency automatically as it should be. 🙂kyle
10/28/2025, 9:08 PMSync task is a good workaround.
Thinking about DuplicatesStrategy, I think I definitely want it to fail while I'm testing this.Vampire
10/28/2025, 9:09 PMkyle
10/28/2025, 9:10 PMVampire
10/28/2025, 9:22 PMVampire
10/28/2025, 9:23 PMkyle
10/28/2025, 9:32 PMVampire
10/28/2025, 9:44 PM