diff --git a/README.md b/README.md index a0568ce..de95d5e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Installation `build.gradle.kts`: ```kotlin dependencies { - implementation("io.fluidsonic.mongo:fluid-mongo:0.9.11") + implementation("io.fluidsonic.mongo:fluid-mongo:1.0.0-beta.1") } ``` @@ -39,7 +39,7 @@ suspend fun main() { collection.insertOne(Document("hello", "world")) // suspending call collection.insertOne(Document("it's", "so easy!")) // suspending call - collection.find().collect { document -> + collection.find().collect { document -> // Kotlin Flow println(document) } } diff --git a/build.gradle.kts b/build.gradle.kts index 39a428c..5d287d3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { id("io.fluidsonic.gradle") version "1.0.2" } -fluidJvmLibrary(name = "mongo", version = "0.9.11") +fluidJvmLibrary(name = "mongo", version = "1.0.0-beta.1") fluidJvmLibraryVariant(JvmTarget.jdk8) { description = "Kotlin coroutine support for MongoDB built on top of the official MongoDB Asynchronous Java Driver"