Slackbot
03/02/2022, 8:44 PMRyan Nett
03/02/2022, 8:49 PM@get:Input
abstract val myProperty: Property<String>
I've also seen people use an open
class and initialize the non-abstract property from the objects factory, that way you don't need the @get:
targettony
03/02/2022, 9:18 PMabstract fun getMyProperty()
or abstract val myProperty
tony
03/02/2022, 9:18 PMget
prefixtony
03/02/2022, 9:18 PMtony
03/02/2022, 9:18 PM@get:Input
abstract val myProperty: Property<String>
as a rule