Skip to content

Commit e984f71

Browse files
authored
Add -ea workflow (both JDK-ea and JavaFX-ea) (#13056)
1 parent fef1b02 commit e984f71

File tree

7 files changed

+491
-5
lines changed

7 files changed

+491
-5
lines changed

.github/workflows/deployment-ea.yml

Lines changed: 468 additions & 0 deletions
Large diffs are not rendered by default.

build-logic/src/main/kotlin/buildlogic.java-common-conventions.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ testing {
3535
}
3636

3737
java {
38+
sourceCompatibility = JavaVersion.VERSION_24
39+
targetCompatibility = JavaVersion.VERSION_24
3840
toolchain {
3941
// If this is updated, also update
4042
// - build.gradle -> jacoco -> toolVersion (because JaCoCo does not support newest JDK out of the box. Check versions at https://www.jacoco.org/jacoco/trunk/doc/changes.html)

jabgui/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ dependencies {
121121
testImplementation("org.testfx:testfx-core:4.0.16-alpha")
122122
testImplementation("org.testfx:testfx-junit5:4.0.16-alpha")
123123

124-
testImplementation("org.mockito:mockito-core:5.17.0")
124+
testImplementation("org.mockito:mockito-core:5.17.0") {
125+
exclude(group = "net.bytebuddy", module = "byte-buddy")
126+
}
127+
testImplementation("net.bytebuddy:byte-buddy:1.17.5")
125128

126129
// recommended by https://github.com/wiremock/wiremock/issues/2149#issuecomment-1835775954
127130
testImplementation("org.wiremock:wiremock-standalone:3.12.1")

jabkit/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ dependencies {
5353
implementation("org.apache.lucene:lucene-queryparser:${luceneVersion}")
5454

5555
testImplementation(project(":test-support"))
56-
testImplementation("org.mockito:mockito-core:5.17.0")
56+
testImplementation("org.mockito:mockito-core:5.17.0") {
57+
exclude(group = "net.bytebuddy", module = "byte-buddy")
58+
}
59+
testImplementation("net.bytebuddy:byte-buddy:1.17.5")
5760
}
5861

5962
/*

jablib/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ dependencies {
207207
testImplementation("org.junit.jupiter:junit-jupiter-params:5.12.2")
208208
testImplementation("org.junit.platform:junit-platform-launcher:1.12.2")
209209

210-
testImplementation("org.mockito:mockito-core:5.17.0")
210+
testImplementation("org.mockito:mockito-core:5.17.0") {
211+
exclude(group = "net.bytebuddy", module = "byte-buddy")
212+
}
213+
testImplementation("net.bytebuddy:byte-buddy:1.17.5")
211214

212215
testImplementation("org.xmlunit:xmlunit-core:2.10.0")
213216
testImplementation("org.xmlunit:xmlunit-matchers:2.10.0")

jabsrv/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ dependencies {
7272
exclude(group = "org.antlr")
7373
}
7474

75-
testImplementation("org.mockito:mockito-core:5.17.0")
75+
testImplementation("org.mockito:mockito-core:5.17.0") {
76+
exclude(group = "net.bytebuddy", module = "byte-buddy")
77+
}
78+
testImplementation("net.bytebuddy:byte-buddy:1.17.5")
7679
}
7780

7881
javafx {

test-support/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ dependencies {
1717
implementation("org.apache.logging.log4j:log4j-to-slf4j:2.24.3")
1818

1919
implementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
20-
implementation("org.mockito:mockito-core:5.17.0")
20+
21+
implementation("org.mockito:mockito-core:5.17.0") {
22+
exclude(group = "net.bytebuddy", module = "byte-buddy")
23+
}
24+
implementation("net.bytebuddy:byte-buddy:1.17.5")
2125

2226
implementation("org.jspecify:jspecify:1.0.0")
2327
}

0 commit comments

Comments
 (0)