eygraber
09/12/2023, 3:25 PMIf you want to have additional source sets that the default hierarchy template doesn't provide...configuring additional source sets manually as usual with dependsOn()
Does that mean that the API for extending the default hierarchy is being removed, or is it not mentioned because it's still experimental?
Jeff Lockhart
09/12/2023, 4:03 PMtargetHierarchy.custom { ... }
to:
applyHierarchyTemplate { ... }
The default hierarchy API changed from:
targetHierarchy.default()
to:
applyDefaultHierarchyTemplate()
which is no longer experimental.
There is also still an experimental version of the default hierarchy template where you can extend with additional groups:
applyDefaultHierarchyTemplate { ... }
This extension API and applyHierarchyTemplate
are still marked ExperimentalKotlinGradlePluginApi
though.eygraber
09/12/2023, 4:17 PMapplyDefaultHierarchyTemplate { ... }
is what I need, thanks!