Adam
11/16/2025, 12:40 PMVampire
11/16/2025, 1:12 PMMartin
11/16/2025, 1:30 PMVampire
11/16/2025, 11:36 PMgroup, module, version are obvious.
And for the dependencies, either rely on the naming, so all that are in apiElements go to compile scope, all that are in runtimeElements but not in apiElements go to runtime scope.
That should be it.
Alternatively to relying on the naming, search for those variants with the default capability (without an explicit one) and search for the right variants to use using the attributes, maybe also verifying that the variant has the "default jar" as artifact.