-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
118 lines (90 loc) · 2.87 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
buildscript {
ext.kotlin_version = '1.2.21'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M4'
}
}
apply plugin: 'jacoco'
subprojects {
group 'zone.thedaniel.dogcam'
version '1.0'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'jacoco'
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
maven { url "http://dl.bintray.com/jetbrains/spek" }
}
sourceCompatibility = 1.8
kotlin {
experimental {
coroutines 'enable'
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.5'
testCompile 'org.jetbrains.spek:spek-api:1.1.5'
testRuntime 'org.jetbrains.spek:spek-junit-platform-engine:1.1.5'
testCompile 'org.junit.platform:junit-platform-runner:1.0.0'
testCompile "org.junit.platform:junit-platform-launcher:1.0.0-M4"
testCompile 'org.amshove.kluent:kluent:1.35'
testCompile 'io.rest-assured:rest-assured:3.0.7'
compile 'com.squareup.retrofit2:retrofit:2.4.0'
compile 'com.squareup.retrofit2:converter-jackson:2.4.0'
compile 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-experimental-adapter:1.0.0'
compile "ch.qos.logback:logback-core:1.2.3"
compile "ch.qos.logback:logback-classic:1.2.3"
compile 'io.arrow-kt:arrow-core:0.6.1'
compile 'io.arrow-kt:arrow-syntax:0.6.1'
compile 'io.arrow-kt:arrow-typeclasses:0.6.1'
compile 'io.arrow-kt:arrow-data:0.6.1'
compile 'io.arrow-kt:arrow-instances:0.6.1'
kapt 'io.arrow-kt:arrow-annotations-processor:0.6.1'
compile 'io.arrow-kt:arrow-effects-kotlinx-coroutines:0.6.1'
compile group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '3.10.0'
if (project.name != "domain") {
compile project(":domain")
}
}
junitPlatform {
filters {
engines {
include 'spek'
}
}
platformVersion '1.0.0-M4'
enableStandardTestTask true
}
jacocoTestReport {
group = "Report"
reports {
xml.enabled = true
csv.enabled = false
html.enabled = true
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
project(':api') {
dependencies {
compile project(':infrastructure')
}
}
project(':infrastructure') {
dependencies {
compile project(':proto')
}
}