Skip to content

Commit 88708a0

Browse files
authored
Removed JCenter from the tutorial (#2547)
Changed the coroutines JVM tutorial to reference Maven Central [instead of JCenter](https://twitter.com/kotlin/status/1357261339379576841).
1 parent 13765d5 commit 88708a0

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

docs/topics/coroutines-basic-jvm.md

+3-13
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ dependencies {
3232
```
3333
</tabs>
3434

35-
This library is published to Bintray JCenter repository, so add the following:
35+
This library is published to the [Maven Central repository](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core), so add the following:
3636

3737
```groovy
3838
repositories {
39-
jcenter()
39+
mavenCentral()
4040
}
4141
```
4242

@@ -77,17 +77,7 @@ Since we'll be using the [`kotlinx.coroutines`](https://github.com/Kotlin/kotlin
7777
</dependencies>
7878
```
7979

80-
This library is published to Bintray JCenter repository, so let us add it:
81-
82-
```xml
83-
<repositories>
84-
...
85-
<repository>
86-
<id>central</id>
87-
<url>https://jcenter.bintray.com</url>
88-
</repository>
89-
</repositories>
90-
```
80+
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.
9181

9282
That's it, we are good to go and write code under `src/main/kotlin`.
9383

0 commit comments

Comments
 (0)