Skip to content

Commit f015be1

Browse files
IRuselizarov
authored andcommitted
Need Instructions For Using Gradle Kotlin Plugin
Fixes #673
1 parent 715acd3 commit f015be1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,32 @@ repository {
106106
}
107107
```
108108

109+
### Gradle Kotlin DSL
110+
111+
Add dependencies (you can also add other modules that you need):
112+
113+
```groovy
114+
dependencies {
115+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.2")
116+
}
117+
```
118+
119+
And make sure that you use the latest Kotlin version:
120+
121+
```groovy
122+
plugins {
123+
kotlin("jvm") version "1.2.70"
124+
}
125+
```
126+
127+
Make sure that you have either `jcenter()` or `mavenCentral()` in the list of repositories:
128+
129+
```
130+
repository {
131+
jcenter()
132+
}
133+
```
134+
109135
### Multiplatform
110136

111137
Core modules of `kotlinx.coroutines` are also available for

0 commit comments

Comments
 (0)