Skip to content

Commit 5ebeefa

Browse files
restore pluginBundle block.
1 parent ec47894 commit 5ebeefa

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

graphql-dgs-codegen-gradle/build.gradle

+14-4
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,28 @@ dependencies {
3333

3434
description = 'Netflix GraphQL DGS Code Generation Plugin'
3535

36-
37-
group = 'com.netflix.graphql.dgs.codegen'
38-
gradlePlugin {
36+
pluginBundle {
3937
vcsUrl = 'https://github.com/Netflix/dgs-codegen.git'
4038
description = 'Gradle plugin for generating Java and Kotlin types from GraphlQL Schema'
4139
website = 'https://github.com/Netflix/dgs-codegen'
4240
plugins {
4341
codegen {
4442
id = 'com.netflix.dgs.codegen'
4543
displayName = 'DGS Code Generation Plugin'
46-
implementationClass = 'com.netflix.graphql.dgs.codegen.gradle.CodegenPlugin'
4744
description = 'Gradle plugin for generating Java and Kotlin classes from GraphQL Schema'
45+
tags = ['Codegen']
46+
}
47+
}
48+
}
49+
50+
group = 'com.netflix.graphql.dgs.codegen'
51+
gradlePlugin {
52+
// Define the plugin
53+
plugins {
54+
codegen {
55+
id = 'com.netflix.dgs.codegen'
56+
implementationClass = 'com.netflix.graphql.dgs.codegen.gradle.CodegenPlugin'
57+
displayName = 'DGS Code Generation Plugin'
4858
}
4959
}
5060
}

0 commit comments

Comments
 (0)