File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ fun main(args: Array<String>) {
29
29
}
30
30
```
31
31
32
+ Bear in mind that ` async ` library actively uses ` CompletableFuture ` from JDK 8, so
33
+ it will not work with earlier versions.
34
+
32
35
### Generate
33
36
``` kotlin
34
37
import kotlinx.coroutines.generate
@@ -49,7 +52,7 @@ project or in tests directories.
49
52
50
53
## Maven
51
54
52
- Add jcenter repository (if you don't have it yet)
55
+ Add the bintray repository
53
56
54
57
``` xml
55
58
<repository >
@@ -62,24 +65,32 @@ Add jcenter repository (if you don't have it yet)
62
65
</repository >
63
66
```
64
67
65
- Add a dependency :
68
+ Add dependencies :
66
69
67
70
``` xml
68
71
<dependency >
69
72
<groupId >org.jetbrains.kotlinx</groupId >
70
73
<artifactId >kotlinx-coroutines-generate</artifactId >
71
74
<version >0.1-alpha-1</version >
72
75
</dependency >
76
+ <dependency >
77
+ <groupId >org.jetbrains.kotlinx</groupId >
78
+ <artifactId >kotlinx-coroutines-async</artifactId >
79
+ <version >0.1-alpha-1</version >
80
+ </dependency >
73
81
```
74
82
75
83
## Gradle
76
84
77
- Just add a dependency :
85
+ Just add dependencies :
78
86
79
87
``` groovy
80
88
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-generate:0.1-alpha-1'
89
+ compile 'org.jetbrains.kotlinx:kotlinx-coroutines-async:0.1-alpha-1'
81
90
```
82
91
92
+ * NB:* As ` async ` library is built upon ` CompletableFuture ` it requires JDK 8 (24 Android API level)
93
+
83
94
Also you should include our bintray repository:
84
95
85
96
``` groovy
You can’t perform that action at this time.
0 commit comments