Search Gradle plugins

com.netflix.dgs.codegen

Gradle plugin for generating Java and Kotlin classes from GraphQL Schema

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

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

Using the plugins DSL:

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

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects