-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (43 loc) · 1.02 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
apply plugin: 'application'
apply plugin: 'findbugs'
apply plugin: 'java'
apply plugin: 'idea'
mainClassName = 'org.dsa.iot.zwave.Main'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
configurations {
provided
}
idea {
module {
scopes.PROVIDED.plus += [ configurations.provided ]
}
}
dependencies {
provided 'com.google.code.findbugs:annotations:3.0.0'
compile 'org.iot-dsa:commons:0.14.1'
compile 'org.iot-dsa:dslink:0.14.1'
compile fileTree('external')
compile 'org.scream3r:jssc:2.8.0'
}
compileJava {
sourceSets.main.compileClasspath += configurations.provided
}
run {
args System.getProperty("exec.args", "").split()
workingDir project.buildDir
}
tasks.withType(FindBugs) {
reports {
xml.enabled = false
html.enabled = true
}
}
applicationDistribution.from new File(project.projectDir, "/dslink.json")