-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
107 lines (93 loc) · 3.42 KB
/
build.gradle
File metadata and controls
107 lines (93 loc) · 3.42 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apply from: gradle.oshCoreDir + '/common.gradle'
description = ''
allprojects {
version = "3.5.0"
}
subprojects {
repositories.addAll(rootProject.repositories)
}
dependencies {
// FROM OSH-CORE
implementation 'org.sensorhub:sensorhub-core:' + oshCoreVersion
implementation 'org.sensorhub:sensorhub-core-osgi:' + oshCoreVersion
implementation 'org.sensorhub:sensorhub-datastore-h2:' + oshCoreVersion
implementation 'org.sensorhub:sensorhub-service-swe:' + oshCoreVersion
implementation 'org.sensorhub:sensorhub-webui-core:' + oshCoreVersion
// Connected Systems
implementation 'org.sensorhub:sensorhub-service-consys'
// FROM OSH-ADDONS
implementation project(':sensorhub-driver-videocam')
implementation project(':sensorhub-driver-rtpcam')
implementation project(':sensorhub-driver-ffmpeg')
implementation project(':sensorhub-process-ffmpeg')
implementation project(':sensorhub-service-video')
implementation project(':sensorhub-datastore-postgis')
implementation project(':sensorhub-service-fileserver')
// implementation project(':sensorhub-driver-dahua')
// !!WARNING!! If you need to use the Axis driver, you must ensure the driver has a non-vulnerable version of log4j
// implementation project(':sensorhub-driver-axis')
// implementation project(':sensorhub-driver-sony-vb600')
// FROM OSH-OAKRIDGE-MODULES
// Drivers
implementation project(':sensorhub-driver-kromek-d3s')
implementation project(':sensorhub-driver-rs350')
implementation project(':sensorhub-driver-rapiscan')
implementation project(':sensorhub-driver-aspect')
implementation project(':sensorhub-driver-kromek-d5')
// Processes
// Additional Modules
implementation project(':sensorhub-system-lane')
implementation project(':sensorhub-webui-oscar')
implementation project(':sensorhub-service-oscar')
implementation project(':sensorhub-service-bucket')
implementation project(':security-utils')
implementation 'io.sentry:sentry-logback:8.25.0'
// For MQTT
implementation project(':sensorhub-service-consys-mqtt')
implementation project(':sensorhub-service-mqtt-hivemq')
}
configurations {
rel
dev
stable
}
distributions{
rel {
distributionBaseName = 'oscar'
contents {
// OSH NODE
into("osh-node-oscar/") {
from 'dist/scripts/standard'
from 'dist/config/standard'
}
into ("osh-node-oscar/config") {
from 'dist/config/eml'
}
into("osh-node-oscar/trusted_certificates") {
from 'scripts/trusted_certificates'
}
into("osh-node-oscar/rules") {
from 'dist/rules'
}
into("osh-node-oscar/documentation") {
from 'dist/documentation'
}
into("osh-node-oscar/web") {
from 'web/oscar-viewer/web'
}
into("osh-node-oscar/") {
from 'README.md'
from 'osh-node-oscar/changelog.md'
}
into("osh-node-oscar/lib") {
from 'third-party-drivers'
from project.configurations.runtimeClasspath
}
// POSTGIS / DOCKER / SCRIPTS
into('.') {
from('dist/release')
}
}
}
}
apply from: gradle.oshCoreDir + '/release.gradle'