Skip to content

Commit

Permalink
Revert previous changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasankavitha committed Nov 16, 2023
1 parent bb234f9 commit 8bb5a8b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent.*

plugins {
id("java")
id("org.springframework.boot") version "3.1.5"
id("org.springframework.boot") version "3.0.0"
id("io.spring.dependency-management") version "1.1.0"
id("com.netflix.dgs.codegen") version "5.11.1"
}
apply(plugin = "com.netflix.dgs.codegen")
Expand All @@ -39,6 +40,12 @@ repositories {
}


dependencyManagement {
imports {
mavenBom("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:6.0.0")
}
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
Expand All @@ -52,10 +59,10 @@ repositories {
// Set Kotlin version to 1.9.20 to avoid the issue described here:
// https://youtrack.jetbrains.com/issue/KT-58021
// TODO: after updating to Spring Boot 3.2.x, this workaround can be removed
extra["kotlin.version"] = "1.9.20"
//extra["kotlin.version"] = "1.9.20"

dependencies {
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:8.1.0-SNAPSHOT"))
implementation(platform("com.netflix.graphql.dgs:graphql-dgs-platform-dependencies:6.0.0"))
implementation("com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter")
implementation("com.netflix.graphql.dgs:graphql-dgs-extended-scalars")
implementation("com.netflix.graphql.dgs:graphql-dgs-subscriptions-websockets-autoconfigure")
Expand All @@ -65,7 +72,6 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("com.netflix.graphql.dgs:graphql-dgs-spring-boot-micrometer")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("jakarta.annotation:jakarta.annotation-api")

testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("com.netflix.graphql.dgs:graphql-dgs-client")
Expand Down

0 comments on commit 8bb5a8b

Please sign in to comment.