-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle
46 lines (36 loc) · 1.02 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
group 'com.example'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.0-dev-6625'
repositories {
mavenCentral()
maven {
url "http://dl.bintray.com/kotlin/kotlin-dev"
}
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap-1.1"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
repositories {
mavenCentral()
maven {
url "http://dl.bintray.com/kotlin/kotlin-dev"
}
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap-1.1"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.6-rc'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.6-rc'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-nio:0.6-rc'
testCompile 'junit:junit:4.12'
}
mainClassName = "kotlinx.coroutines.examples.BasicKt"