Skip to content

Commit 47c92f0

Browse files
committed
Update dependencies
1 parent 2cb76fc commit 47c92f0

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

build.gradle

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
plugins {
22
id 'java'
3-
id 'org.jetbrains.kotlin.jvm' version '2.1.0'
4-
id 'org.springframework.boot' version '3.1.0'
5-
id 'io.spring.dependency-management' version '1.1.0'
3+
id 'org.jetbrains.kotlin.jvm' version '2.2.21'
4+
id 'org.springframework.boot' version '3.5.7'
5+
id 'org.jetbrains.kotlin.plugin.spring' version '2.2.21'
6+
id 'jacoco'
67
}
78

89
group = 'com.example'
@@ -17,15 +18,15 @@ repositories {
1718
}
1819

1920
dependencies {
20-
implementation 'org.springframework.boot:spring-boot-starter-web:3.4.4'
21-
implementation 'org.springframework.boot:spring-boot-starter-validation:3.4.4'
22-
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.1.0'
23-
implementation 'org.springframework.boot:spring-boot-starter-graphql:3.4.4'
24-
implementation 'org.springframework.boot:spring-boot-starter-webflux:3.4.4'
21+
implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.7')
22+
implementation "org.springframework.boot:spring-boot-starter-web"
23+
implementation "org.springframework.boot:spring-boot-starter-graphql"
24+
implementation 'org.springframework.boot:spring-boot-starter-validation'
25+
implementation 'org.springframework.boot:spring-boot-starter-webflux'
26+
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.14'
2527

2628
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2729
testImplementation 'org.springframework.graphql:spring-graphql-test'
28-
2930
testImplementation "io.specmatic:junit5-support:${specmaticVersion}"
3031
testImplementation "io.specmatic.graphql:specmatic-graphql:${specmaticGraphqlVersion}"
3132
testImplementation 'org.testcontainers:junit-jupiter:1.21.3'

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
specmaticVersion=2.27.3
2-
specmaticGraphqlVersion=1.2.2
1+
specmaticVersion=2.28.1
2+
specmaticGraphqlVersion=1.5.0

src/test/java/com/example/productsearch/controller/ContractTestUsingTestContainer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import org.testcontainers.junit.jupiter.Testcontainers
1818
@EnabledIf(value = "isNonCIOrLinux", disabledReason = "Run only on Linux in CI; all platforms allowed locally")
1919
class ContractTestsUsingTestContainer {
2020
companion object {
21-
private const val APPLICATION_HOST = "localhost"
21+
private const val APPLICATION_HOST = "host.docker.internal"
2222
private const val APPLICATION_PORT = 8070
2323
private const val GRAPHQL_STUB_PORT = 8080
2424

@@ -60,7 +60,7 @@ class ContractTestsUsingTestContainer {
6060
"/usr/src/app/build/reports/specmatic",
6161
BindMode.READ_WRITE,
6262
).waitingFor(Wait.forLogMessage(".*Tests run:.*", 1))
63-
.withNetworkMode("host")
63+
.withExtraHost("host.docker.internal", "host-gateway")
6464
.withLogConsumer { print(it.utf8String) }
6565
}
6666

0 commit comments

Comments
 (0)