From 9b227cf22f5da2735eb896a260cc88c5ea302d9b Mon Sep 17 00:00:00 2001 From: Anton Samoilov <2441492+vyndor@users.noreply.github.com> Date: Tue, 10 Oct 2023 07:28:26 +0300 Subject: [PATCH] Replace cfuture with minifuture (#70) Co-authored-by: Anton Samoilov --- README.md | 8 ++++++++ centrifuge/build.gradle | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66e14c3..b2f70a1 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ The features implemented by this SDK can be found in [SDK feature matrix](https: Library available in Maven: https://search.maven.org/artifact/io.github.centrifugal/centrifuge-java +This library depends on `streamsupport-minifuture`. In case your project has a dependency to `streamsupport-cfuture` and you have a class name conflicts, you can exclude minifuture safely. Example for Gradle: + +``` +implementation('io.github.centrifugal:centrifuge-java:{version}') { + exclude group: 'net.sourceforge.streamsupport', module: 'streamsupport-minifuture' +} +``` + ## Javadoc online http://www.javadoc.io/doc/io.github.centrifugal/centrifuge-java diff --git a/centrifuge/build.gradle b/centrifuge/build.gradle index 563ef49..ceea57c 100644 --- a/centrifuge/build.gradle +++ b/centrifuge/build.gradle @@ -25,7 +25,7 @@ publishing { dependencies { implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation 'com.google.protobuf:protobuf-javalite:3.21.12' - implementation 'net.sourceforge.streamsupport:streamsupport-cfuture:1.7.0' + implementation 'net.sourceforge.streamsupport:streamsupport-minifuture:1.7.4' testImplementation 'junit:junit:4.13.2' }