Skip to content

Commit

Permalink
Set up for publishing to gradle repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasankavitha committed Dec 11, 2020
1 parent 64063c5 commit 54b6999
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions graphql-dgs-codegen-gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ task createClasspathManifest {
}
}


publishPlugins.dependsOn tasks.check
project.rootProject.tasks.publishPackageToBintray.dependsOn tasks.publishPlugins
gradle.taskGraph.whenReady { graph ->
tasks.publishPlugins.onlyIf {
graph.hasTask(':final')
}
}

// Add the classpath file to the test runtime classpath
dependencies {
testRuntimeOnly files(createClasspathManifest)
Expand Down

0 comments on commit 54b6999

Please sign in to comment.