bmuschko / gradle-vagrant-plugin

Gradle plugin for managing Vagrant boxes.
Apache License 2.0
48 stars 11 forks source link

Use provider API to configure tasks #18

Closed britter closed 3 years ago

britter commented 3 years ago

Changes all tasks to use the provider API instead of plain fields. This allows for late wiring, e.g. if one wants to set the value of environmentVariables to a value that is computed by another task. By doing this all tasks have been made abstract so Gradle will create an implementation of the task and inject the property instance into it.

bmuschko commented 3 years ago

Good stuff. Thanks! I will have a look over it later today.