aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Brandt <ian@ianbrandt.com>2021-02-25 11:38:00 -0800
committerGitHub <noreply@github.com>2021-02-25 22:38:00 +0300
commit88708a0b7dc3a285ba166e0210532f7369c765f4 (patch)
tree100aac10849c337dc81327a7a2c61b06cbe44df7
parent13765d5bd24ccf44f8d52008279204a0e4eb2323 (diff)
downloadkotlinx.coroutines-88708a0b7dc3a285ba166e0210532f7369c765f4.tar.gz
Removed JCenter from the tutorial (#2547)
Changed the coroutines JVM tutorial to reference Maven Central [instead of JCenter](https://twitter.com/kotlin/status/1357261339379576841).
-rw-r--r--docs/topics/coroutines-basic-jvm.md16
1 files changed, 3 insertions, 13 deletions
diff --git a/docs/topics/coroutines-basic-jvm.md b/docs/topics/coroutines-basic-jvm.md
index 59cc4326..3b067ea8 100644
--- a/docs/topics/coroutines-basic-jvm.md
+++ b/docs/topics/coroutines-basic-jvm.md
@@ -32,11 +32,11 @@ dependencies {
```
</tabs>
-This library is published to Bintray JCenter repository, so add the following:
+This library is published to the [Maven Central repository](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core), so add the following:
```groovy
repositories {
- jcenter()
+ mavenCentral()
}
```
@@ -77,17 +77,7 @@ Since we'll be using the [`kotlinx.coroutines`](https://github.com/Kotlin/kotlin
</dependencies>
```
-This library is published to Bintray JCenter repository, so let us add it:
-
-```xml
-<repositories>
- ...
- <repository>
- <id>central</id>
- <url>https://jcenter.bintray.com</url>
- </repository>
-</repositories>
-```
+This library is published to the [Maven Central repository](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core), which Maven will download from by default.
That's it, we are good to go and write code under `src/main/kotlin`.