frevib commented on code in PR #3614:
URL: https://github.com/apache/avro/pull/3614#discussion_r2665348858
##########
lang/java/gradle-plugin/src/main/kotlin/eu/eventloopsoftware/avro/gradle/plugin/tasks/AbstractCompileTask.kt:
##########
@@ -0,0 +1,72 @@
+package org.apache.avro.gradle.plugin.tasks
+
+import org.gradle.api.DefaultTask
+import org.gradle.api.provider.ListProperty
+import org.gradle.api.provider.Property
+import org.gradle.api.tasks.Input
+import org.gradle.api.tasks.SourceTask
+
+abstract class AbstractCompileTask : SourceTask() {
+
+ @get:Input
Review Comment:
Done for the Task. For the extension we keep the interface simple and only
use String and Boolean. Else we burden the user with things like
```kotlin
avro {
outputDirectory = layout.buildDirectory.dir("somedir")
}
```
instead of simpler
```kotlin
avro {
outputDirectory = "somedir"
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]