-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
37 lines (34 loc) · 897 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
33
34
35
36
37
apply plugin: 'kotlin'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
dependencies {
implementation 'com.pusher:pusher-java-client:1.6.0'
implementation 'io.reactivex.rxjava2:rxjava:2.1.7'
testCompile 'junit:junit:4.12'
testCompile 'org.jetbrains.kotlin:kotlin-test-junit:1.1.51'
testCompile 'com.nhaarman:mockito-kotlin:1.5.0'
testCompile 'org.assertj:assertj-core:3.8.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
}
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.6"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.6"
}
}