hi guys. Is there a known limitation that a single...
# gradle
f
hi guys. Is there a known limitation that a single plugin, written in Kotlin and used by a Kotlin DSL project can only register one
NamedDomainObjectContainer
?
when I try registering a second one to any extension, my test suite fails with
Duplicate method name&signature in class file org/gradle/kotlin/dsl/AccessorsKt
e
Hi Florian, That’s a known issue, see https://github.com/gradle/kotlin-dsl/issues/905
f
thanks!
👌 1
e
The fix is work in progress
👍 3
one workaround is to use specialized types for your containers
f
I can live with a delayed fix
I actually wanted to refactor an existing extension
to support multiple instances - but that’s not critical at the moment
thanks for the info!