Skip to content

Commit 0f76972

Browse files
committed
Fix style issue and eclipse annoyance of JUnit 5/6 selection
1 parent 5ab46d2 commit 0f76972

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ dependencies {
4747
testImplementation "org.reactivestreams:reactive-streams-tck-flow:$reactiveStreamsVersion"
4848

4949
testImplementation "org.junit.jupiter:junit-jupiter:$jupiterVersion"
50-
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$jupiterVersion"
5150

52-
// The missing piece – required by Gradle 9+
53-
testRuntimeOnly "org.junit.platform:junit-platform-launcher:$jupiterLauncherVersion" // match your JUnit version family
51+
// Explicitly add these for IDE compatibility (especially Eclipse)
52+
testImplementation "org.junit.platform:junit-platform-commons:$jupiterLauncherVersion"
53+
testImplementation "org.junit.platform:junit-platform-launcher:$jupiterLauncherVersion"
54+
55+
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$jupiterVersion"
56+
testRuntimeOnly "org.junit.platform:junit-platform-launcher:$jupiterLauncherVersion" // already have this
5457
}
5558

5659
// === Experimental JDK handling for Outreach Program ===

src/main/java/io/reactivex/rxjava4/internal/disposables/ListCompositeDisposable.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ public void reset() {
198198
}
199199
}
200200

201-
202201
@Override
203202
public DisposableContainer derive() {
204203
var result = new ListCompositeDisposable();

0 commit comments

Comments
 (0)