Skip to content

Commit 606ac0f

Browse files
qwwdfsadkamildoleglodkhalanskyjb
authored andcommitted
Upgrade to newest Dokka and Knit (#2805)
* Migrate to Dokka pre-1.5.0 Co-authored-by: Kamil Doległo <[email protected]> Co-authored-by: dkhalanskyjb <[email protected]>
1 parent abb182c commit 606ac0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+276
-1050
lines changed

README.md

+19-28
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ suspend fun main() = coroutineScope {
3535
* [select] expression support and more.
3636
* [core/jvm](kotlinx-coroutines-core/jvm/) &mdash; additional core features available on Kotlin/JVM:
3737
* [Dispatchers.IO] dispatcher for blocking coroutines;
38-
* [Executor.asCoroutineDispatcher] extension, custom thread pools, and more.
38+
* [Executor.asCoroutineDispatcher][asCoroutineDispatcher] extension, custom thread pools, and more.
3939
* [core/js](kotlinx-coroutines-core/js/) &mdash; additional core features available on Kotlin/JS:
4040
* Integration with `Promise` via [Promise.await] and [promise] builder;
4141
* Integration with `Window` via [Window.asCoroutineDispatcher], etc.
@@ -197,25 +197,17 @@ Kotlin/JS version of `kotlinx.coroutines` is published as
197197

198198
#### Native
199199

200-
[Kotlin/Native](https://kotlinlang.org/docs/reference/native-overview.html) version of `kotlinx.coroutines` is published as
201-
[`kotlinx-coroutines-core`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.4.2/jar)
202-
(follow the link to get the dependency declaration snippet). **Kotlin/Native requires Gradle version 6.0 or later**
203-
to resolve that dependency properly into the corresponding platform-specific artifacts.
200+
Kotlin/Native version of `kotlinx.coroutines` is published as
201+
[`kotlinx-coroutines-core-$platform`](https://mvnrepository.com/search?q=kotlinx-coroutines-core-) where `$platform` is
202+
the target Kotlin/Native platform. [List of currently supported targets](https://github.com/Kotlin/kotlinx.coroutines/blob/master/gradle/compile-native-multiplatform.gradle#L16).
204203

205-
Kotlin/Native does not generally provide binary compatibility between versions.
206-
You should use the same version of Kotlin/Native compiler as was used to build `kotlinx.coroutines`.
207204

208-
Kotlin/Native does not support free sharing of mutable objects between threads as on JVM, so several
209-
limitations apply to using coroutines on Kotlin/Native.
210-
See [Sharing and background threads on Kotlin/Native](kotlin-native-sharing.md) for details.
205+
Only single-threaded code (JS-style) on Kotlin/Native is supported in stable versions.
206+
Additionally, a special `-native-mt` version is released on a regular basis, for the state of multi-threaded coroutines support
207+
please follow the [corresponding issue](https://github.com/Kotlin/kotlinx.coroutines/issues/462) for the additional details.
211208

212-
Some functions like [newSingleThreadContext] and [runBlocking] are available only for Kotlin/JVM and Kotlin/Native
213-
and are not available on Kotlin/JS. In order to access them from the code that is shared between JVM and Native
214-
you need to enable granular metadata (aka HMPP) in your `gradle.properties` file:
215-
216-
```properties
217-
kotlin.mpp.enableGranularSourceSetsMetadata=true
218-
```
209+
Since Kotlin/Native does not generally provide binary compatibility between versions,
210+
you should use the same version of the Kotlin/Native compiler as was used to build `kotlinx.coroutines`.
219211

220212
## Building and Contributing
221213

@@ -241,12 +233,11 @@ See [Contributing Guidelines](CONTRIBUTING.md).
241233
[SupervisorJob()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-supervisor-job.html
242234
[CoroutineExceptionHandler]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-exception-handler/index.html
243235
[Dispatchers.IO]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-i-o.html
244-
[Executor.asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/java.util.concurrent.-executor/as-coroutine-dispatcher.html
245-
[Promise.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/kotlin.js.-promise/await.html
236+
[asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/as-coroutine-dispatcher.html
237+
[Promise.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/await.html
246238
[promise]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/promise.html
247-
[Window.asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/org.w3c.dom.-window/as-coroutine-dispatcher.html
248-
[newSingleThreadContext]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/new-single-thread-context.html
249-
[runBlocking]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
239+
[Window.asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/as-coroutine-dispatcher.html
240+
250241
<!--- INDEX kotlinx.coroutines.flow -->
251242

252243
[Flow]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html
@@ -270,7 +261,7 @@ See [Contributing Guidelines](CONTRIBUTING.md).
270261
<!--- MODULE kotlinx-coroutines-test -->
271262
<!--- INDEX kotlinx.coroutines.test -->
272263

273-
[Dispatchers.setMain]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/kotlinx.coroutines.-dispatchers/set-main.html
264+
[Dispatchers.setMain]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/set-main.html
274265
[TestCoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/-test-coroutine-scope/index.html
275266

276267
<!--- MODULE kotlinx-coroutines-debug -->
@@ -290,23 +281,23 @@ See [Contributing Guidelines](CONTRIBUTING.md).
290281
<!--- MODULE kotlinx-coroutines-jdk8 -->
291282
<!--- INDEX kotlinx.coroutines.future -->
292283

293-
[CompletionStage.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-jdk8/kotlinx.coroutines.future/java.util.concurrent.-completion-stage/await.html
284+
[CompletionStage.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-jdk8/kotlinx.coroutines.future/await.html
294285

295286
<!--- MODULE kotlinx-coroutines-guava -->
296287
<!--- INDEX kotlinx.coroutines.guava -->
297288

298-
[ListenableFuture.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-guava/kotlinx.coroutines.guava/com.google.common.util.concurrent.-listenable-future/await.html
289+
[ListenableFuture.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-guava/kotlinx.coroutines.guava/await.html
299290

300291
<!--- MODULE kotlinx-coroutines-play-services -->
301292
<!--- INDEX kotlinx.coroutines.tasks -->
302293

303-
[Task.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-play-services/kotlinx.coroutines.tasks/com.google.android.gms.tasks.-task/await.html
294+
[Task.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-play-services/kotlinx.coroutines.tasks/await.html
304295

305296
<!--- MODULE kotlinx-coroutines-reactive -->
306297
<!--- INDEX kotlinx.coroutines.reactive -->
307298

308-
[Publisher.collect]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/org.reactivestreams.-publisher/collect.html
309-
[Publisher.awaitSingle]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/org.reactivestreams.-publisher/await-single.html
299+
[Publisher.collect]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/collect.html
300+
[Publisher.awaitSingle]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/await-single.html
310301
[kotlinx.coroutines.reactive.publish]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/publish.html
311302

312303
<!--- MODULE kotlinx-coroutines-rx2 -->

buildSrc/build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ val cacheRedirectorEnabled = System.getenv("CACHE_REDIRECTOR")?.toBoolean() == t
1212
val buildSnapshotTrain = properties["build_snapshot_train"]?.toString()?.toBoolean() == true
1313

1414
repositories {
15+
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/")
16+
mavenLocal()
17+
1518
if (cacheRedirectorEnabled) {
1619
maven("https://cache-redirector.jetbrains.com/plugins.gradle.org/m2")
1720
maven("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-dev")
@@ -47,4 +50,5 @@ fun version(target: String): String {
4750
dependencies {
4851
implementation(kotlin("gradle-plugin", version("kotlin")))
4952
implementation("org.jetbrains.dokka:dokka-gradle-plugin:${version("dokka")}")
53+
implementation("org.jetbrains.dokka:dokka-core:${version("dokka")}")
5054
}

buildSrc/settings.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
pluginManagement {
55
val build_snapshot_train: String? by settings
66
repositories {
7+
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/")
78
val cacheRedirectorEnabled = System.getenv("CACHE_REDIRECTOR")?.toBoolean() == true
89
if (cacheRedirectorEnabled) {
910
println("Redirecting repositories for buildSrc buildscript")

buildSrc/src/main/kotlin/Dokka.kt

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
import org.gradle.api.Project
6-
import org.gradle.kotlin.dsl.delegateClosureOf
7-
import org.gradle.kotlin.dsl.withType
8-
import org.jetbrains.dokka.DokkaConfiguration.ExternalDocumentationLink.Builder
9-
import org.jetbrains.dokka.gradle.DokkaTask
10-
import java.io.File
11-
import java.net.URL
5+
import org.gradle.api.*
6+
import org.gradle.kotlin.dsl.*
7+
import org.jetbrains.dokka.gradle.*
8+
import java.io.*
9+
import java.net.*
1210

1311
/**
1412
* Package-list by external URL for documentation generation.
@@ -17,10 +15,12 @@ fun Project.externalDocumentationLink(
1715
url: String,
1816
packageList: File = projectDir.resolve("package.list")
1917
) {
20-
tasks.withType<DokkaTask>().configureEach {
21-
externalDocumentationLink(delegateClosureOf<Builder> {
22-
this.url = URL(url)
23-
packageListUrl = packageList.toPath().toUri().toURL()
24-
})
18+
tasks.withType<AbstractDokkaLeafTask>().configureEach {
19+
dokkaSourceSets.configureEach {
20+
externalDocumentationLink {
21+
this.url.set(URL(url))
22+
packageListUrl.set(packageList.toPath().toUri().toURL())
23+
}
24+
}
2525
}
2626
}

docs/topics/cancellation-and-timeouts.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,15 @@ This example always prints zero. Resources do not leak.
447447
[launch]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/launch.html
448448
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
449449
[cancelAndJoin]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel-and-join.html
450-
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/cancel.html
450+
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel.html
451451
[Job.join]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/join.html
452452
[CancellationException]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-cancellation-exception/index.html
453453
[yield]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/yield.html
454454
[isActive]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/is-active.html
455455
[CoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html
456456
[withContext]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/with-context.html
457-
[NonCancellable]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-non-cancellable.html
457+
[NonCancellable]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-non-cancellable/index.html
458458
[withTimeout]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/with-timeout.html
459459
[withTimeoutOrNull]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/with-timeout-or-null.html
460460

461-
<!--- END -->
461+
<!--- END -->

docs/topics/channels.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ delay between elements.
626626

627627
[CoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html
628628
[runBlocking]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
629-
[kotlin.coroutines.CoroutineContext.cancelChildren]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/kotlin.coroutines.-coroutine-context/cancel-children.html
629+
[kotlin.coroutines.CoroutineContext.cancelChildren]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel-children.html
630630
[Dispatchers.Default]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-default.html
631631

632632
<!--- INDEX kotlinx.coroutines.channels -->
@@ -640,7 +640,7 @@ delay between elements.
640640
[Channel()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-channel.html
641641
[ticker]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/ticker.html
642642
[ReceiveChannel.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-receive-channel/cancel.html
643-
[TickerMode.FIXED_DELAY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-ticker-mode/-f-i-x-e-d_-d-e-l-a-y.html
643+
[TickerMode.FIXED_DELAY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-ticker-mode/-f-i-x-e-d_-d-e-l-a-y/index.html
644644

645645
<!--- INDEX kotlinx.coroutines.selects -->
646646

docs/topics/composing-suspending-functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Computation failed with ArithmeticException
406406
[launch]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/launch.html
407407
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
408408
[Deferred]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-deferred/index.html
409-
[CoroutineStart.LAZY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-start/-l-a-z-y.html
409+
[CoroutineStart.LAZY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-start/-l-a-z-y/index.html
410410
[Deferred.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-deferred/await.html
411411
[Job.start]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/start.html
412412
[GlobalScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-global-scope/index.html

docs/topics/coroutine-context-and-dispatchers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ that should be implemented.
678678
[CoroutineScope()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope.html
679679
[MainScope()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-main-scope.html
680680
[Dispatchers.Main]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-main.html
681-
[asContextElement]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/java.lang.-thread-local/as-context-element.html
682-
[ensurePresent]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/java.lang.-thread-local/ensure-present.html
681+
[asContextElement]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/as-context-element.html
682+
[ensurePresent]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/ensure-present.html
683683
[ThreadContextElement]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-thread-context-element/index.html
684684

685685
<!--- END -->

docs/topics/exception-handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ The scope is completed
508508
[CoroutineExceptionHandler]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-exception-handler/index.html
509509
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
510510
[Deferred]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-deferred/index.html
511-
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/cancel.html
511+
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel.html
512512
[runBlocking]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
513513
[SupervisorJob()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-supervisor-job.html
514514
[Job()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job.html

docs/topics/flow.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,7 @@ Integration modules include conversions from and to `Flow`, integration with Rea
18521852
[CoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html
18531853
[runBlocking]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
18541854
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
1855-
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/cancel.html
1855+
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel.html
18561856
[Job.join]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/join.html
18571857
[ensureActive]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/ensure-active.html
18581858
[CancellationException]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-cancellation-exception/index.html
@@ -1890,7 +1890,7 @@ Integration modules include conversions from and to `Flow`, integration with Rea
18901890
[catch]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/catch.html
18911891
[onCompletion]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/on-completion.html
18921892
[launchIn]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/launch-in.html
1893-
[IntRange.asFlow]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/kotlin.ranges.-int-range/as-flow.html
1893+
[IntRange.asFlow]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/as-flow.html
18941894
[cancellable]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/cancellable.html
18951895

18961896
<!--- END -->

docs/topics/shared-mutable-state-and-concurrency.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,4 +510,4 @@ have to switch to a different context at all.
510510
[actor]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/actor.html
511511
[produce]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/produce.html
512512

513-
<!--- END -->
513+
<!--- END -->

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#
44

55
# Kotlin
6-
version=1.5.0-SNAPSHOT
6+
version=1.5.0-native-mt-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.5.20
8+
kotlin_version=1.5.20-RC-233
99

1010
# Dependencies
1111
junit_version=4.12

0 commit comments

Comments
 (0)