Skip to content

Commit e2e1a16

Browse files
authored
Update testing setup (#104)
1 parent cab319a commit e2e1a16

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

eventbus-test-jar/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ java {
1313
dependencies {
1414
implementation rootProject
1515
implementation libs.bundles.asm
16-
implementation libs.unsafe
1716

1817
implementation libs.jmh.core
1918
}

eventbus-test-jar/src/main/java/module-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
requires org.objectweb.asm;
99
requires org.objectweb.asm.commons;
10-
requires net.minecraftforge.unsafe;
1110
requires static jmh.core;
1211
requires org.jspecify;
1312

eventbus-test/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ dependencies {
2323
testImplementation libs.junit.api
2424
testImplementation libs.jspecify.annotations
2525
testImplementation libs.compile.testing
26-
testImplementation libs.auto.value
2726
testImplementation libs.jetbrains.annotations
2827
testRuntimeOnly libs.bundles.junit.runtime
2928
}

settings.gradle

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,17 @@ dependencyResolutionManagement {
2424
library 'jspecify-annotations', 'org.jspecify', 'jspecify' version '1.0.0'
2525

2626
// https://mvnrepository.com/artifact/com.google.errorprone/error_prone_core
27-
library 'errorprone-core', 'com.google.errorprone', 'error_prone_core' version '2.44.0'
27+
library 'errorprone-core', 'com.google.errorprone', 'error_prone_core' version '2.45.0'
2828

2929
// https://mvnrepository.com/artifact/com.uber.nullaway/nullaway
30-
library 'nullaway', 'com.uber.nullaway', 'nullaway' version '0.12.12'
30+
library 'nullaway', 'com.uber.nullaway', 'nullaway' version '0.12.14'
3131

3232

3333
/* The rest is for testing */
34-
library 'unsafe', 'net.minecraftforge:unsafe:0.9.2'
35-
36-
version 'junit', '5.10.1'
34+
version 'junit', '6.0.1'
3735
library 'junit-api', 'org.junit.jupiter', 'junit-jupiter-api' versionRef 'junit'
3836
library 'junit-engine', 'org.junit.jupiter', 'junit-jupiter-engine' versionRef 'junit'
39-
library 'junit-platform-launcher', 'org.junit.platform', 'junit-platform-launcher' version '1.10.1'
37+
library 'junit-platform-launcher', 'org.junit.platform', 'junit-platform-launcher' versionRef 'junit'
4038
bundle 'junit-runtime', ['junit-engine', 'junit-platform-launcher']
4139

4240
version 'asm', '9.9'
@@ -49,8 +47,7 @@ dependencyResolutionManagement {
4947
library 'jmh-core', 'org.openjdk.jmh', 'jmh-core' versionRef 'jmh'
5048
library 'jmh-annotationProcessor', 'org.openjdk.jmh', 'jmh-generator-annprocess' versionRef 'jmh'
5149

52-
library 'compile-testing', 'com.google.testing.compile', 'compile-testing' version '0.21.0'
53-
library 'auto-value', 'com.google.auto.value', 'auto-value' version '1.11.0' // Need to bump this because compile-testing uses an old non-module compatible version
50+
library 'compile-testing', 'com.google.testing.compile', 'compile-testing' version '0.23.0'
5451
library 'jetbrains-annotations', 'org.jetbrains', 'annotations' version '26.0.2'
5552
}
5653
//@formatter:on

0 commit comments

Comments
 (0)