com.graphql-java-generator.graphql-gradle-plugin
所有者: Etienne SF
graphql-gradle-plugin 是一个基于 graphql-java 的 GraphQL Gradle 插件。它通过生成 Java 代码加速客户端和服务器端的开发,允许在首合同方法中更快地进行开发,通过避免编写样板代码。
https://github.com/graphql-java-generator/graphql-gradle-plugin-project
来源: https://github.com/graphql-java-generator/graphql-gradle-plugin-project.git
使用 plugins DSL
plugins {
id("com.graphql-java-generator.graphql-gradle-plugin") version "2.7"
}
使用 旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.graphql-java-generator:graphql-gradle-plugin:2.7")
}
}
apply(plugin = "com.graphql-java-generator.graphql-gradle-plugin")
使用 plugins DSL
plugins {
id "com.graphql-java-generator.graphql-gradle-plugin" version "2.7"
}
使用 旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.graphql-java-generator:graphql-gradle-plugin:2.7"
}
}
apply plugin: "com.graphql-java-generator.graphql-gradle-plugin"