Skip to content

Commit

Permalink
Merge pull request #759 from Netflix/feature/consolidate-versions-bom
Browse files Browse the repository at this point in the history
Moving GRAPHQL Version to the Platform BOM
  • Loading branch information
berngp committed Nov 29, 2021
2 parents 1e55995 + 1ed21a1 commit 6ebeccb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
7 changes: 0 additions & 7 deletions buildSrc/src/main/kotlin/Versions.kt
Expand Up @@ -20,12 +20,5 @@ object Versions {
const val SPRING_BOOT_VERSION = "2.3.9.RELEASE"
const val SPRING_SECURITY_VERSION = "5.3.9.RELEASE"
const val SPRING_CLOUD_VERSION = "Hoxton.SR10"
const val GRAPHQL_JAVA = "17.3"
const val GRAPHQL_JAVA_EXTENDED_SCALARS = "17.0"

// The version below will work with Jakarta EE 8
// and use Hibernate Validator 6.2.
const val GRAPHQL_JAVA_EXTENDED_VALIDATION = "17.0-hibernate-validator-6.2.0.Final"
const val GRAPHQL_JAVA_FEDERATION = "0.7.0"
const val JACKSON_BOM = "2.12.3"
}
11 changes: 7 additions & 4 deletions graphql-dgs-platform/build.gradle.kts
Expand Up @@ -45,18 +45,21 @@ dependencies {
// this will be published as Maven Metadata.
// For more information at https://docs.gradle.org/current/userguide/rich_versions.html
constraints {
// GraphQL Platform
api("com.graphql-java:graphql-java") {
version { require(Versions.GRAPHQL_JAVA) }
version { require("17.3") }
}
api("com.graphql-java:graphql-java-extended-scalars") {
version { require(Versions.GRAPHQL_JAVA_EXTENDED_SCALARS) }
version { require("17.0") }
}
api("com.graphql-java:graphql-java-extended-validation") {
version { require(Versions.GRAPHQL_JAVA_EXTENDED_VALIDATION) }
// The version below will work with Jakarta EE 8 and use Hibernate Validator 6.2.
version { require("17.0-hibernate-validator-6.2.0.Final") }
}
api("com.apollographql.federation:federation-graphql-java-support") {
version { require(Versions.GRAPHQL_JAVA_FEDERATION) }
version { require("0.7.0") }
}
// ---
api("com.jayway.jsonpath:json-path") {
version { require("2.6.0") }
}
Expand Down

0 comments on commit 6ebeccb

Please sign in to comment.