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

Update the Gradle Plugin API to use Lazy Configuration #63

Closed
cortinico opened this issue Aug 21, 2019 · 0 comments · Fixed by #102
Closed

Update the Gradle Plugin API to use Lazy Configuration #63

cortinico opened this issue Aug 21, 2019 · 0 comments · Fixed by #102
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cortinico
Copy link
Collaborator

We should consider updating our Gradle plugin API to use the Gradle Lazy Configuration approach (Provider and Property to allow lazy configuration of the task).
https://docs.gradle.org/current/userguide/lazy_configuration.html

More context on this in the thread on #16

Currently the inputFile property is the only required property to properly configure swagger-gradle-codenge. If the inputFile property is not provided, the gradle build is broken.
Ideally we would love to break just the execution of the generateSwagger task and provide an informative message to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
2 participants