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

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

Version 1.18.11 (latest)

1.18.11

Created 04 April 2023.

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.18.11"
}

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.18.11")
  }
}

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

Using the plugins DSL:

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

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.18.11"
  }
}

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

Learn how to apply plugins to subprojects