Before sending your pull requests, make sure you followed this list:
- Read Contributing Guidelines.
- Read Code of Conduct.
- Refer to Development process.
- Changes are consistent with the Coding Style of the project.
- Build the project locally.
- Run Unit Tests and ensure that you have the test coverage for your code.
Please follow the steps below in order to make the changes:
Clone the repository and open it in your favourite IDE.
Make code changes to the core library of
graphql-java-codegen.If changes are required in the plugin code, then build and install
graphql-java-codegenfirst.# This will install the library (including your recent changes) in your local maven repository. ./gradlew clean build publishToMavenLocalBuild the plugin project with updated
graphql-java-codegenlibrary.# Build Gradle plugin ./gradlew -p plugins/gradle/graphql-java-codegen-gradle-plugin clean build # Build Maven plugincd plugins/maven/graphql-java-codegen-maven-plugin mvn clean verify
Make changes to the plugin code
Install the plugin (copy to your local maven repository).
# Install Gradle plugin ./gradlew -p plugins/gradle/graphql-java-codegen-gradle-plugin clean build publishToMavenLocal # Install Maven plugincd plugins/maven/graphql-java-codegen-maven-plugin mvn clean install
Make sure that
exampleprojects are compiling and running.