-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
45 lines (35 loc) · 1020 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
38
39
40
41
42
43
44
45
apply plugin: 'application'
apply plugin: 'findbugs'
apply plugin: 'java'
mainClassName = 'bitpool.Main'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '0.1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
compile 'org.iot-dsa:dslink:0.14.1'
compile 'org.iot-dsa:historian:0.14.1'
compile 'com.sun.jersey:jersey-client:1.19'
compile 'com.sun.jersey.contribs:jersey-multipart:1.19'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.6.1'
compile 'io.swagger:swagger-annotations:1.5.3'
}
run {
args System.getProperty("exec.args", "").split()
workingDir project.buildDir
}
tasks.withType(FindBugs) {
//classes = classes.filter {
// !it.path.contains(new File('com/serotonin').path)
//}
reports {
xml.enabled = false
html.enabled = true
}
}
applicationDistribution.from new File(project.projectDir, "dslink.json")