You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
This is not a request but a proposal. @int128 if you would like to see this done, I will provide a PR with the changes. But since this is a larger change, I want to ask first.
Describe the feature
We are using this plugin in a project with Kotlin DSL and noticed that the plugin lacks behind in some of the latest Gradle features we would like to consistently use in our project:
No Groovy specific types in public API (like Closure) to be Kotlin DSL friendly
@CompileStatic for Groovy code to be more performant at configuration times.
Why do you want the feature?
We would like to consistently use the features listed above in out build together with this plugin.
Notes:
If I do the change, I would attempt to not change the existing DSL for Groovy. E.g., even if we change from File to DirectoryProperty, you can still assign a File. You just also can assign lazy typed values - Provider<Directory> - as well.
Still, these will be 'API changes' and you might want to increase the major version of the plugin with this change.
Let me know if there are any concerns. If you would like to see this contributed, I would give it a try in a few days.
The text was updated successfully, but these errors were encountered:
This is not a request but a proposal. @int128 if you would like to see this done, I will provide a PR with the changes. But since this is a larger change, I want to ask first.
Describe the feature
We are using this plugin in a project with Kotlin DSL and noticed that the plugin lacks behind in some of the latest Gradle features we would like to consistently use in our project:
DirectoryProvider
instead ofFile
)TaskProvider<MyTask>
instead ofMyTask
in API/DSL for task configuration avoidance@CompileStatic
for Groovy code to be more performant at configuration times.Why do you want the feature?
We would like to consistently use the features listed above in out build together with this plugin.
Notes:
File
toDirectoryProperty
, you can still assign aFile
. You just also can assign lazy typed values -Provider<Directory>
- as well.Let me know if there are any concerns. If you would like to see this contributed, I would give it a try in a few days.
The text was updated successfully, but these errors were encountered: