-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
43 lines (35 loc) · 1.05 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
apply plugin: 'application'
apply plugin: 'java-library'
mainClassName = 'bacnet.Main'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '2.6.0'
repositories {
mavenCentral()
mavenLocal()
maven {
url 'https://maven.mangoautomation.net/repository/ias-release/'
}
}
dependencies {
api 'org.iot-dsa:historian:0.24.2'
implementation 'commons-logging:commons-logging:1.2'
implementation 'org.apache.commons:commons-lang3:3.8.1'
implementation 'org.reflections:reflections:0.9.12'
implementation 'io.github.java-native:jssc:2.9.2'
implementation ('com.infiniteautomation:bacnet4j:5.0.2') {
exclude group: 'org.scream3r'
}
}
run {
args System.getProperty("exec.args", "").split()
workingDir project.buildDir
}
task sourcesJar(group: 'build', type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
wrapper {
gradleVersion = '6.8'
}
applicationDistribution.from new File(project.projectDir, "/dslink.json")