You would define an extension type with a container as a property. You can take a look at an example of what that might look like here:
mark_vieira
(Mark Vieira)
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Make a Gradle plugin compatible with Kotlin DSL | 2 | 2658 | August 10, 2017 | |
| Task development: How to combine extensions and conventions for a richer DSL? | 15 | 6858 | March 26, 2012 | |
| Multi-level Plugin DSL with Multiple Collection Properties | 8 | 200 | July 30, 2024 | |
| How can I extend the DSL dynamically? | 2 | 1661 | November 14, 2016 | |
| Defining Consumer from Groovy build.gradle | 12 | 952 | July 28, 2020 |