-
Notifications
You must be signed in to change notification settings - Fork 27
Gradle plugin: please consider exposing task parameters directly rather than via extension #21
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Just in case, I've created my own task (see pgjdbc/pgjdbc#1627 ): https://github.com/vlsi/pgjdbc/blob/gradle/buildSrc/src/main/kotlin/org/postgresql/buildtools/JavaCommentPreprocessorTask.kt It more-or-less works, however, the configuration with Ant-like fileset would probably be easier to understand. PS. you could have That is in your case the coordinates should be |
@vlsi |
so, since 7.0.3 there is no extension for Gradle task |
The current design allows having at most one jcp task per project which might be not enough.
What do you think if the task had its own parameters while the extension serves as the set of default values?
The text was updated successfully, but these errors were encountered: