Skip to content

Commit 54b6999

Browse files
Set up for publishing to gradle repository.
1 parent 64063c5 commit 54b6999

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

graphql-dgs-codegen-gradle/build.gradle

+9
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ task createClasspathManifest {
105105
}
106106
}
107107

108+
109+
publishPlugins.dependsOn tasks.check
110+
project.rootProject.tasks.publishPackageToBintray.dependsOn tasks.publishPlugins
111+
gradle.taskGraph.whenReady { graph ->
112+
tasks.publishPlugins.onlyIf {
113+
graph.hasTask(':final')
114+
}
115+
}
116+
108117
// Add the classpath file to the test runtime classpath
109118
dependencies {
110119
testRuntimeOnly files(createClasspathManifest)

0 commit comments

Comments
 (0)