Skip to content

Commit 268fde0

Browse files
committed
[Java] Upgrade to Agrona 2.0.0.
1 parent 633fe63 commit 268fde0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ subprojects {
217217
all {
218218
testTask.configure {
219219
useJUnitPlatform()
220+
jvmArgs('--add-opens', 'java.base/jdk.internal.misc=ALL-UNNAMED')
220221

221222
testLogging {
222223
for (def level : LogLevel.values())
@@ -303,6 +304,7 @@ project(':sbe-tool') {
303304
minHeapSize = '2g'
304305
maxHeapSize = '2g'
305306

307+
jvmArgs('--add-opens', 'java.base/jdk.internal.misc=ALL-UNNAMED')
306308
javaLauncher.set(toolchainLauncher)
307309

308310
systemProperty 'sbe.dll', "${rootProject.projectDir}/csharp/sbe-dll/bin/Release/netstandard2.0/SBE.dll"

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[versions]
2-
agrona = "1.23.1"
2+
agrona = "2.0.0"
33
checkstyle = "10.21.0"
44
junit = "5.11.4"
55
jmh = "1.37"
66
gradle = "8.11.1"
77

88
[libraries]
9-
agrona = { group = "org.agrona", name = "agrona", version = { strictly = "[1.23.1, 2.0[", require = "1.23.1" } }
9+
agrona = { group = "org.agrona", name = "agrona", version.ref = "agrona" }
1010
mockito = { group = "org.mockito", name = "mockito-core", version = "5.14.2" }
1111
hamcrest = { group = "org.hamcrest", name = "hamcrest", version = "3.0" }
1212
jqwik = { group = "net.jqwik", name = "jqwik", version = "1.9.2" }

0 commit comments

Comments
 (0)