Skip to content

Add local schema file support to Gradle plugin extension #1212

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

Merged
merged 3 commits into from
Jul 9, 2021

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

Update Gradle plugin to allow client generation by specifying local schema file in the extension. Using extension with local schema file is equivalent to configuring the GraphQLGenerateClientTask directly.

🔗 Related Issues

#1136: Allow schema to be on the classpath
#1190: Add local schema file support to Gradle plugin

@dariuszkuc dariuszkuc added changes: minor Changes require a minor version module: plugin Issue affects the plugins code labels Jul 8, 2021
@smyrick smyrick merged commit a6b957c into ExpediaGroup:master Jul 9, 2021
@dariuszkuc dariuszkuc deleted the gradle_local_schema branch August 7, 2021 05:16
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
…p#1212)

* Add local schema file support to Gradle plugin

* update new property to schemaFileName

* fix test - use absolute path for schema file

Co-authored-by: Scott Rossillo <scott@rossillo.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: minor Changes require a minor version module: plugin Issue affects the plugins code
Development

Successfully merging this pull request may close these issues.

3 participants