-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (61 loc) · 1.76 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
plugins {
id 'com.zoltu.kotlin' version '1.0.6'
}
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'idea'
project.version = '9.0.0'
sourceCompatibility = JavaVersion.VERSION_1_8
checkstyle {
toolVersion = '7.5.1'
}
jacoco {
toolVersion = '0.7.9'
}
repositories {
jcenter()
}
dependencies {
compile files("${System.properties['java.home']}/../lib/tools.jar")
compile "com.fasterxml.jackson.module:jackson-module-kotlin:2.8.7"
compile 'com.neuronrobotics:nrjavaserial:3.11.0'
compile 'com.pi4j:pi4j-core:1.0'
compile 'commons-cli:commons-cli:1.3.1'
compile 'io.reactivex:rxjava:1.2.7'
compile 'io.reactivex:rxjavafx:1.1.0'
compile 'javax.inject:javax.inject:1'
compile 'net.java.jinput:jinput:2.0.6'
compile 'org.bytedeco:javacv-platform:1.3.2'
compile 'org.cfg4j:cfg4j-core:4.4.0'
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.6'
compile 'org.slf4j:slf4j-nop:1.7.24'
compile 'org.tinylog:tinylog:1.2'
compile 'rxbroadcast:rxbroadcast:1.1.0'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.7.12'
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked' << '-Xdiags:verbose' << "-Xlint:deprecation"
}
}
}
task buildZip(type: Zip) {
from configurations.runtime
baseName 'eer-dependencies'
}
test {
testLogging {
exceptionFormat = 'full'
showStandardStreams = true
events 'passed', 'skipped', 'failed'
}
}
task testJar(type: Jar) {
from sourceSets.test.output + sourceSets.main.output
classifier 'tests'
description 'Assembles a jar archive containing the test classes.'
group 'verification'
}