Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.graphql-java:graphql-java:16.2'
}
dependencies {
implementation("com.github.graphql-java:graphql-java:16.2")
}
<dependency>
<groupId>com.github.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
<version>16.2</version>
</dependency>
libraryDependencies += "com.github.graphql-java" % "graphql-java" % "16.2"
:dependencies [[com.github.graphql-java/graphql-java "16.2"]]
Discuss and ask questions in our Discussions: https://github.com/graphql-java/graphql-java/discussions
This is a GraphQL Java implementation.
Latest build in Maven central: https://repo1.maven.org/maven2/com/graphql-java/graphql-java/
The GraphQL Java book, from the maintainers: GraphQL with Java and Spring
See our tutorial for beginners: Getting started with GraphQL Java and Spring Boot
For further details, please see the documentation: https://www.graphql-java.com/documentation/getting-started
If you're looking to learn more, we (the maintainers) have written a book! GraphQL with Java and Spring includes everything you need to know to build a production ready GraphQL service. The book is available on Leanpub and Amazon.
Please take a look at our list of releases if you want to learn more about new releases and the changelog.
Please note that this project is released with a Contributor Code of Conduct. By contributing to this project (commenting or opening PR/Issues etc) you are agreeing to follow this conduct, so please take the time to read it.
Copyright (c) 2015, Andreas Marek and Contributors