-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (30 loc) · 725 Bytes
/
build.gradle
File metadata and controls
36 lines (30 loc) · 725 Bytes
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
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'org.kotlin.sample.Main'
defaultTasks 'run'
repositories {
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.14"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:0.14"
compile "io.reactivex.rxjava2:rxjava:2.0.8"
}
task wrapper(type: Wrapper) {
gradleVersion = "3.4.1"
}
kotlin {
experimental {
coroutines "enable"
}
}