-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
61 lines (50 loc) · 1.45 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.4.15"
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'org.junit.platform.gradle.plugin'
apply from: 'bintray.gradle'
sourceCompatibility = 1.6
targetCompatibility = 1.6
compileJava {
sourceCompatibility = 1.6
targetCompatibility = 1.6
}
junitPlatform {
filters {
engines {
include 'spek'
}
}
}
repositories {
mavenCentral()
maven {
url 'http://dl.bintray.com/kotlin/kotlinx.support'
}
jcenter()
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'io.reactivex:rxnetty:0.4.20'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile 'org.assertj:assertj-core:2.6.0'
testCompile 'junit:junit:4.12'
testCompile 'com.squareup.okhttp3:okhttp:3.6.0'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile 'org.jetbrains.spek:spek-api:1.1.0'
testRuntime 'org.jetbrains.spek:spek-junit-platform-engine:1.1.0'
}
defaultTasks 'run'