Phillip Schichtel
06/30/2024, 9:36 PMartifacts.add(configurations.testImplementation.name, jarTask) to add the jar to the configuration, but it doesn't seem to show up in the runtime classpath.
ideas?Philip W
07/01/2024, 5:38 AMartifacts defines the outgoing files, but you want to depend testimplementation as dependencyscope on another outgoing (consumable) configuration (that contains the artifacts). Do you want to support cross project publications? Then you need artifacts and a consumable configuration with some attributes, and a resolvable configuration with the same artifacts (and maybe an artifact transformation to make it usable from Java). In the same project, you can use it too, or just add the so file directly to your resources sourceset.Philip W
07/01/2024, 5:39 AMPhillip Schichtel
07/02/2024, 12:05 AMtestImplementation(files(jarTask)), but that feels wrongPhilip W
07/02/2024, 9:34 AMPhillip Schichtel
07/02/2024, 10:43 PM