This message was deleted.
# community-support
s
This message was deleted.
1
a
My guess would be that DatabaseConfig needs to be a nested property, since it's a bean that has
Property<>
fields, but these can't be registered using the runtime API.
v
This is the issue that hopefully adds the runtime API variant for nested types: https://github.com/gradle/gradle/issues/6022 Until then, if you want to define
DatabaseConfig
as input using the runtime API, you probably have to define the single properties as inputs or use the utility that is mentioned in one of the comments in that issue. About
bundles.named...
, yes to use
named
the thing you want to refer to needs to already be registered. Depending on the intended usage, you could for example use
bundles.matching { it.name == "..." }
instead.
s
Ok. Thanks for the information! That helps