diff --git a/README.md b/README.md index 7006692..f12a197 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ fluid-mongo [![Maven Central](https://img.shields.io/maven-central/v/io.fluidsonic.mongo/fluid-mongo?label=Maven%20Central)](https://search.maven.org/artifact/io.fluidsonic.mongo/fluid-mongo) [![JCenter](https://img.shields.io/bintray/v/fluidsonic/kotlin/mongo?label=JCenter)](https://bintray.com/fluidsonic/kotlin/mongo) -[![Kotlin](https://img.shields.io/badge/Kotlin-1.3.70-blue.svg)](https://github.com/JetBrains/kotlin/releases/v1.3.70) -[![MongoDB](https://img.shields.io/badge/MongoDB-Reactive%20Streams%204.0.0-blue.svg)](https://github.com/mongodb/mongo-java-driver-reactivestreams/releases/tag/r4.0.00) +[![Kotlin](https://img.shields.io/badge/Kotlin-1.3.72-blue.svg)](https://github.com/JetBrains/kotlin/releases/v1.3.72) +[![MongoDB](https://img.shields.io/badge/MongoDB-Reactive%20Streams%204.0.3-blue.svg)](https://github.com/mongodb/mongo-java-driver/releases/tag/r4.0.3) [![#fluid-libraries Slack Channel](https://img.shields.io/badge/slack-%23fluid--libraries-543951.svg?label=Slack)](https://kotlinlang.slack.com/messages/C7UDFSVT2/) -Kotlin coroutine support for MongoDB built on top of the official [MongoDB Reactive Streams Java Driver](https://mongodb.github.io/mongo-java-driver-reactivestreams/4.0/). +Kotlin coroutine support for MongoDB built on top of the official [MongoDB Reactive Streams Java Driver](https://mongodb.github.io/mongo-java-driver/4.0/driver-reactive/). diff --git a/build.gradle.kts b/build.gradle.kts index b2e3918..32edf81 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import io.fluidsonic.gradle.* plugins { - id("io.fluidsonic.gradle") version "1.0.10" + id("io.fluidsonic.gradle") version "1.0.12" } fluidJvmLibrary(name = "mongo", version = "1.0.0") @@ -11,14 +11,14 @@ fluidJvmLibraryVariant(JvmTarget.jdk8) { } dependencies { - implementation(kotlinx("coroutines-reactive", "1.3.3")) - implementation(mongodb("driver-reactivestreams", "4.0.0")) + implementation(kotlinx("coroutines-reactive", "1.3.7")) + implementation(mongodb("driver-reactivestreams")) - api(kotlinx("coroutines-core", "1.3.3")) - api(mongodb("driver-core", "4.0.0")) + api(kotlinx("coroutines-core", "1.3.7")) + api(mongodb("driver-core")) } @Suppress("unused") -fun DependencyHandler.mongodb(name: String, version: String) = +fun DependencyHandler.mongodb(name: String, version: String = "4.0.3") = "org.mongodb:mongodb-$name:$version" diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index f3d88b1..62d4c05 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 84a9066..fd0c5a3 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 2fe81a7..fbd7c51 100755 --- a/gradlew +++ b/gradlew @@ -82,6 +82,7 @@ esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then @@ -129,6 +130,7 @@ fi if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` # We build the pattern for arguments to be converted via cygpath diff --git a/gradlew.bat b/gradlew.bat index 9109989..a9f778a 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -84,6 +84,7 @@ set CMD_LINE_ARGS=%* set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + @rem Execute Gradle "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%