Estevan Fick
10/17/2024, 2:02 PMproject.dependencies.add to add them. The issue is that I need to set some excludes for these dependencies. I tried to use a lambda after the add, but it didn't work. Is there a way to add these excludes?Thomas Broyer
10/17/2024, 2:21 PMimport org.gradle.kotli.dsl.add.
In Java you'd have to call the add(String,Object) overload and cast the return value to ModuleDependency (it'll likely be an ExternalModuleDependency) to call its exclude(Map<String,String>) method.Estevan Fick
10/17/2024, 4:15 PMThomas Broyer
10/17/2024, 4:19 PMimport org.gradle.kotli.dsl.* (yep, wildcard, the only one I'm allowing myself to use) so I can write my Kotlin code almost as if it was a Gradle Kotlin DSL script.Vampire
10/17/2024, 4:26 PMn. 😄
For me the IDE usually suggests also those imports. 🤷♂️