Search Gradle plugins

com.netflix.dgs.codegen

Gradle plugin for generating Java and Kotlin classes from GraphQL Schema

https://github.com/Netflix/dgs-codegen

Version 4.0.11

Created 24 December 2020.

Gradle plugin for generating Java and Kotlin classes from GraphQL Schema

Using the plugins DSL:

plugins {
  id "com.netflix.dgs.codegen" version "4.0.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-gradle:4.0.11"
  }
}

apply plugin: "com.netflix.dgs.codegen"

Using the plugins DSL:

plugins {
  id("com.netflix.dgs.codegen") version "4.0.11"
}

Using legacy plugin application:

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

apply(plugin = "com.netflix.dgs.codegen")

Learn how to apply plugins to subprojects