Search Gradle plugins

Version 1.0 (latest)

Created 04 September 2019.

Provides a task for generating Java code based on GraphQL schema

Using the plugins DSL:

plugins {
  id "com.kobylynskyi.graphql.codegen" version "1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.kobylynskyi.graphql.codegen:graphql-codegen-gradle-plugin:1.0"
  }
}

apply plugin: "com.kobylynskyi.graphql.codegen"

Using the plugins DSL:

plugins {
  id("com.kobylynskyi.graphql.codegen") version "1.0"
}

Using legacy plugin application:

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

apply(plugin = "com.kobylynskyi.graphql.codegen")

Learn how to apply plugins to subprojects