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.17.3p1

Created 29 September 2021.

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.

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.graphql_java_generator.graphql-gradle-plugin:com.graphql_java_generator.graphql-gradle-plugin.gradle.plugin:1.17.3p1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.graphql_java_generator.graphql-gradle-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.graphql_java_generator.graphql-gradle-plugin:com.graphql_java_generator.graphql-gradle-plugin.gradle.plugin:1.17.3p1")
      }
    }
    
    apply(plugin = "com.graphql_java_generator.graphql-gradle-plugin")
  • Applying plugins to all subprojects .