forked from IOT-DSA/dslink-java-bacnet2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (46 loc) · 1.31 KB
/
build.gradle
File metadata and controls
55 lines (46 loc) · 1.31 KB
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
apply plugin: 'application'
apply plugin: 'findbugs'
apply plugin: 'java-library'
mainClassName = 'bacnet.Main'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '2.2.3'
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
//flatDir { dirs 'external' }
//maven {
// url 'https://maven.mangoautomation.net/repository/ias-snapshot/'
//}
maven {
url 'https://maven.mangoautomation.net/repository/ias-release/'
}
}
dependencies {
api 'org.iot-dsa:historian:0.20.1'
implementation 'commons-logging:commons-logging:1.2'
implementation 'org.apache.commons:commons-lang3:3.8'
implementation 'org.reflections:reflections:0.9.11'
implementation 'org.scream3r:jssc:2.8.0'
implementation 'com.serotonin:bacnet4j:+'
}
run {
args System.getProperty("exec.args", "").split()
workingDir project.buildDir
}
task sourcesJar(group: 'build', type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
tasks.withType(FindBugs) {
reports {
xml.enabled = false
html.enabled = true
}
}
wrapper {
gradleVersion = '4.10'
}
applicationDistribution.from new File(project.projectDir, "/dslink.json")