forked from ReactiveX/RxKotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·32 lines (27 loc) · 942 Bytes
/
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
buildscript {
ext.kotlin_version = '1.0.1'
repositories { jcenter() }
dependencies { classpath 'com.netflix.nebula:gradle-rxjava-project-plugin:2.+',
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
}
apply plugin: 'rxjava-project'
apply plugin: 'kotlin'
dependencies {
compile 'io.reactivex:rxjava:1.1.1'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile 'org.funktionale:funktionale:0.8'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.8.5'
examplesCompile 'com.squareup.retrofit:retrofit:1.9.+'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
}
// support for snapshot/final releases with the various branches RxJava uses
nebulaRelease {
addReleaseBranchPattern(/\d+\.\d+\.\d+/)
addReleaseBranchPattern('HEAD')
}
if (project.hasProperty('release.useLastTag')) {
tasks.prepare.enabled = false
}