forked from ReactiveX/RxKotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·40 lines (33 loc) · 1.15 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
buildscript {
ext.kotlin_version = '1.2.51'
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-rxjava-project-plugin:4.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group = 'io.reactivex.rxjava2'
apply plugin: 'nebula.rxjava-project'
apply plugin: 'kotlin'
apply plugin: 'java'
dependencies {
compile 'io.reactivex.rxjava2:rxjava:2.1.16'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile 'org.funktionale:funktionale-partials:1.0.0-final'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
examplesCompile 'com.squareup.retrofit2:retrofit:2.3.0'
examplesCompile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
examplesCompile 'com.squareup.retrofit2:converter-moshi:2.3.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}
// 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
}