Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving GRAPHQL Version to the Platform BOM #759

Merged
merged 1 commit into from Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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