Skip to content

Commit 81bb04a

Browse files
committed
Update README.md
1 parent 94e7879 commit 81bb04a

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ fun main(args: Array<String>) {
2929
}
3030
```
3131

32+
Bear in mind that `async` library actively uses `CompletableFuture` from JDK 8, so
33+
it will not work with earlier versions.
34+
3235
### Generate
3336
```kotlin
3437
import kotlinx.coroutines.generate
@@ -49,7 +52,7 @@ project or in tests directories.
4952

5053
## Maven
5154

52-
Add jcenter repository (if you don't have it yet)
55+
Add the bintray repository
5356

5457
```xml
5558
<repository>
@@ -62,24 +65,32 @@ Add jcenter repository (if you don't have it yet)
6265
</repository>
6366
```
6467

65-
Add a dependency:
68+
Add dependencies:
6669

6770
```xml
6871
<dependency>
6972
<groupId>org.jetbrains.kotlinx</groupId>
7073
<artifactId>kotlinx-coroutines-generate</artifactId>
7174
<version>0.1-alpha-1</version>
7275
</dependency>
76+
<dependency>
77+
<groupId>org.jetbrains.kotlinx</groupId>
78+
<artifactId>kotlinx-coroutines-async</artifactId>
79+
<version>0.1-alpha-1</version>
80+
</dependency>
7381
```
7482

7583
## Gradle
7684

77-
Just add a dependency:
85+
Just add dependencies:
7886

7987
```groovy
8088
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-generate:0.1-alpha-1'
89+
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-async:0.1-alpha-1'
8190
```
8291

92+
*NB:* As `async` library is built upon `CompletableFuture` it requires JDK 8 (24 Android API level)
93+
8394
Also you should include our bintray repository:
8495

8596
```groovy

0 commit comments

Comments
 (0)