Installation

Maven Central

KGraphQL is pushed to MavenCentral repository. It requires kotlin compiler version 1.4.x and require kotlin runtime of the same version as a dependency.

Add Maven Central repository:

repositories {
  mavenCentral()
}

Add dependencies:

implementation("com.apurebase:kgraphql:$KGraphQLVersion")

Add Maven Central repository:

repositories {
  mavenCentral()
}

Add dependencies (you can also add other modules that you need):

implementation 'com.apurebase:kgraphql:${KGraphQLVersion}'

Add Maven Central repository to section:

<repositories>
    <repository>
        <id>central</id>
        <url>https://repo1.maven.org/maven2</url>
    </repository>
</repositories>

Add dependency:

<dependency>
  <groupId>com.apurebase</groupId>
  <artifactId>kgraphql</artifactId>
  <version>${KGraphQLVersion}</version>
</dependency>