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 5.1.2 (latest)

Created 24 September 2021.

Gradle plugin for generating Java and Kotlin classes from GraphQL Schema

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

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:5.1.2")
  }
}

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

Learn how to apply plugins to subprojects