File tree Expand file tree Collapse file tree 2 files changed +24
-17
lines changed Expand file tree Collapse file tree 2 files changed +24
-17
lines changed Original file line number Diff line number Diff line change 1
1
# kotlinx.coroutines
2
2
3
- Library support for Kotlin coroutines. This is a companion version for Kotlin 1.1-Beta release.
3
+ Library support for Kotlin coroutines. This is a companion version for Kotlin 1.1.0-beta-17 release.
4
4
It contains worked-out implementation of coroutine builders, suspending functions, and contexts that are
5
5
used as examples in
6
6
[ Kotlin coroutines design document] ( https://github.com/Kotlin/kotlin-coroutines/blob/master/kotlin-coroutines-informal.md )
@@ -70,6 +70,14 @@ Add dependencies (you can also add other modules that you need):
70
70
</dependency >
71
71
```
72
72
73
+ And make sure that you use the right Kotlin version:
74
+
75
+ ``` xml
76
+ <properties >
77
+ <kotlin .version>1.1.0-beta-17</kotlin .version>
78
+ </properties >
79
+ ```
80
+
73
81
### Gradle
74
82
75
83
Add the bintray repository (and also add it to ` buildScript ` section, if you're willing to get ` kotlin-gradle-plugin ` from there):
@@ -87,3 +95,11 @@ Add dependencies (you can also add other modules that you need):
87
95
``` groovy
88
96
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.3-beta'
89
97
```
98
+
99
+ And make sure that you use the right Kotlin version:
100
+
101
+ ``` groovy
102
+ buildscript {
103
+ ext.kotlin_version = '1.1.0-beta-17'
104
+ }
105
+ ```
Original file line number Diff line number Diff line change 31
31
32
32
<repositories >
33
33
<repository >
34
- <id >sonatype-oss</id >
35
- <name >Sonatype OSS</name >
36
- <url >http://oss.sonatype.org/content/repositories/snapshots</url >
37
- <snapshots >
38
- <enabled >true</enabled >
39
- </snapshots >
34
+ <id >bintray</id >
35
+ <name >bintray</name >
36
+ <url >http://dl.bintray.com/kotlin/kotlin-eap-1.1</url >
40
37
</repository >
41
38
</repositories >
42
39
43
40
<pluginRepositories >
44
41
<pluginRepository >
45
- <id >sonatype.oss.snapshots</id >
46
- <name >Sonatype OSS Snapshot Repository</name >
47
- <url >http://oss.sonatype.org/content/repositories/snapshots</url >
48
- <releases >
49
- <enabled >false</enabled >
50
- </releases >
51
- <snapshots >
52
- <enabled >true</enabled >
53
- </snapshots >
42
+ <id >bintray</id >
43
+ <name >bintray</name >
44
+ <url >http://dl.bintray.com/kotlin/kotlin-eap-1.1</url >
54
45
</pluginRepository >
55
46
</pluginRepositories >
56
47
65
56
66
57
<properties >
67
58
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
68
- <kotlin .version>1.1-SNAPSHOT </kotlin .version>
59
+ <kotlin .version>1.1.0-beta-17 </kotlin .version>
69
60
<junit .version>4.12</junit .version>
70
61
<maven .compiler.source>1.6</maven .compiler.source>
71
62
<maven .compiler.target>1.6</maven .compiler.target>
You can’t perform that action at this time.
0 commit comments