Skip to content

Commit 7f0cfe5

Browse files
committed
Update jooq plugin and java version
1 parent 696cb2a commit 7f0cfe5

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/setup-java@v3
2222
with:
2323
distribution: temurin
24-
java-version: 11
24+
java-version: 17
2525
- uses: gradle/gradle-build-action@v2
2626
with:
2727
arguments: test

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Enable auto-env through the sdkman_auto_env config
22
# Add key=value pairs of SDKs to use below
33
java=17.0.2-open
4-
gradle=7.4.2
4+
gradle=7.5.1

acme-data/acme-data-sql/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ java {
3535
}
3636

3737
jooq {
38-
version.set("3.16.4")
38+
version.set("3.17.4")
3939
edition.set(JooqEdition.OSS)
4040
configurations {
4141
create("main") {

acme-web/acme-web-server/src/test/kotlin/com/acme/web/server/scheduling/MessagesTest.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class MessagesTest : ShouldSpec({
210210
runBlocking {
211211
uow.transaction {
212212
// Given
213-
val start = Instant.now()
213+
val start = Instant.now().truncatedTo(ChronoUnit.MICROS)
214214
val end = start.plus(1, ChronoUnit.HOURS)
215215

216216
val command = CreateAppointmentCommand(
@@ -311,7 +311,7 @@ class MessagesTest : ShouldSpec({
311311
uow
312312
)
313313

314-
val start = Instant.now()
314+
val start = Instant.now().truncatedTo(ChronoUnit.MICROS)
315315
val end = start.plus(1, ChronoUnit.HOURS)
316316

317317
// When
@@ -406,7 +406,7 @@ class MessagesTest : ShouldSpec({
406406
uow
407407
)
408408

409-
val start = Instant.now()
409+
val start = Instant.now().truncatedTo(ChronoUnit.MICROS)
410410
val end = start.plus(1, ChronoUnit.HOURS)
411411

412412
schedulingMessageBus.handle(
@@ -509,7 +509,7 @@ class MessagesTest : ShouldSpec({
509509
uow
510510
)
511511

512-
val start = Instant.now()
512+
val start = Instant.now().truncatedTo(ChronoUnit.MICROS)
513513
val end = start.plus(1, ChronoUnit.HOURS)
514514

515515
schedulingMessageBus.handle(
@@ -612,7 +612,7 @@ class MessagesTest : ShouldSpec({
612612
uow
613613
)
614614

615-
val start = Instant.now()
615+
val start = Instant.now().truncatedTo(ChronoUnit.MICROS)
616616
val end = start.plus(1, ChronoUnit.HOURS)
617617

618618
schedulingMessageBus.handle(

buildSrc/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ dependencies {
1515
}
1616

1717
java {
18-
sourceCompatibility = JavaVersion.VERSION_1_8
19-
targetCompatibility = JavaVersion.VERSION_1_8
18+
sourceCompatibility = JavaVersion.VERSION_17
19+
targetCompatibility = JavaVersion.VERSION_17
2020
}

buildSrc/src/main/kotlin/acme.kotlin-conventions.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ group = "com.acme"
1414
version = "0.1.0"
1515

1616
java {
17-
sourceCompatibility = JavaVersion.VERSION_11
18-
targetCompatibility = JavaVersion.VERSION_11
17+
sourceCompatibility = JavaVersion.VERSION_17
18+
targetCompatibility = JavaVersion.VERSION_17
1919
}
2020

2121
jacoco {
@@ -49,7 +49,7 @@ tasks {
4949

5050
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
5151
kotlinOptions {
52-
jvmTarget = JavaVersion.VERSION_11.toString()
52+
jvmTarget = JavaVersion.VERSION_17.toString()
5353
freeCompilerArgs = listOf(
5454
"-Xemit-jvm-type-annotations", // NOTE: necessary for validation annotations to work. Such as: `val things: List<@NotBlank String>`
5555
"-opt-in=kotlin.RequiresOptIn",

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ io-jaegertracing = "1.2.0"
44
io-ktor = "2.0.0"
55
io-opentelemetry = "1.15.0"
66
kotlin = "1.6.21"
7-
org-jooq = "3.16.4"
7+
org-jooq = "3.17.4"
88
org-junit-jupiter = "5.8.2"
99
org-seleniumhq-selenium = "4.3.0"
1010

@@ -91,5 +91,5 @@ com-github-ben-manes-versions = "com.github.ben-manes.versions:0.44.0"
9191
com-google-cloud-tools-jib = "com.google.cloud.tools.jib:3.2.1"
9292
com-ryandens-javaagent-jib = "com.ryandens.javaagent-jib:0.3.2"
9393
nl-littlerobots-version-catalog-update = "nl.littlerobots.version-catalog-update:0.7.0"
94-
nu-studer-jooq = "nu.studer.jooq:7.1.1"
94+
nu-studer-jooq = "nu.studer.jooq:8.0"
9595
org-hidetake-swagger-generator = "org.hidetake.swagger.generator:2.18.2"

0 commit comments

Comments
 (0)