Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Provider API for the Gradle Plugin properties #32

Open
julioz opened this issue Jun 4, 2020 · 0 comments
Open

Use the Provider API for the Gradle Plugin properties #32

julioz opened this issue Jun 4, 2020 · 0 comments
Labels
Gradle Plugin Work related to the Gradle Plugin component hacktoberfest Check out https://hacktoberfest.digitalocean.com and contribute!

Comments

@julioz
Copy link
Owner

julioz commented Jun 4, 2020

Try out the Provider API

  • Example
  • instead of String for the directory we can declare the field as DirectoryProperty and then to pass it, use something like project.layout.projectDirectory.dir("schemas"), so that the actual file will be resolved when the task runs
@julioz julioz added the Gradle Plugin Work related to the Gradle Plugin component label Jun 4, 2020
@julioz julioz added the hacktoberfest Check out https://hacktoberfest.digitalocean.com and contribute! label Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gradle Plugin Work related to the Gradle Plugin component hacktoberfest Check out https://hacktoberfest.digitalocean.com and contribute!
Projects
None yet
Development

No branches or pull requests

1 participant