// Extension class to capture user input
class MyExtension {
@Input
String inputParameter = null
}
I think that is wrong. Annotations are supposed to be for Task properties only. Even the Input (Gradle API 8.13) javadoc says its for Tasks and does not mention extensions.
Besides that probably the whole part should be changed to use Property<String> instead of primitives, I’d say you are right, having it on the extension is most probably just no-op, unless the extension is also used somewhere as a @Nested property in which case it would become relevant again.