Search Gradle plugins

com.graphql_java_generator.graphql-gradle-plugin

graphql-gradle-plugin is a Gradle Plugin for GraphQL, based on graphql-java. It accelerates the development for both the client and the server, by generating the Java code. It allows a quicker development when in contract-first approach, by avoiding to code the boilerplate code.

https://github.com/graphql-java-generator/graphql-gradle-plugin-project

Version 1.8.1 (latest)

Created 28 May 2020.

graphql-gradle-plugin is a Gradle Plugin for GraphQL, based on graphql-java. It accelerates the development for both the client and the server, by generating the Java code. It allows a quicker development when in contract-first approach, by avoiding to code the boilerplate code.

Using the plugins DSL:

plugins {
  id "com.graphql_java_generator.graphql-gradle-plugin" version "1.8.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.graphql-java-generator:graphql-gradle-plugin:1.8.1"
  }
}

apply plugin: "com.graphql_java_generator.graphql-gradle-plugin"

Using the plugins DSL:

plugins {
  id("com.graphql_java_generator.graphql-gradle-plugin") version "1.8.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.graphql-java-generator:graphql-gradle-plugin:1.8.1")
  }
}

apply(plugin = "com.graphql_java_generator.graphql-gradle-plugin")

Learn how to apply plugins to subprojects