-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (56 loc) · 1.65 KB
/
build.gradle
File metadata and controls
63 lines (56 loc) · 1.65 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
apply from: gradle.oshCoreDir + '/common.gradle'
description = ''
allprojects {
version = '0.0.0'
}
subprojects {
// inject all repositories from included builds if any
repositories.addAll(rootProject.repositories)
}
dependencies {
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
implementation 'org.sensorhub:sensorhub-service-consys:' + oshCoreVersion
implementation project(':sensorhub-driver-template')
// implementation project(':[storage-module-name]')
// implementation project(':[service-name]')
// implementation project(':[driver-name]')
//
// Ex:
//
// implementation project(':sensorhub-storage-compat')
// implementation project(':sensorhub-storage-h2')
// implementation project(':sensorhub-service-video')
// implementation project(':sensorhub-driver-videocam')
}
// create one configuration for each distribution
configurations {
main
}
distributions {
main {
distributionBaseName = 'osh-node'
contents {
from 'dist/scripts/'
into ('config') {
from 'dist/config'
}
from 'README.md'
into('web') {
from 'web'
}
into('lib') {
from project.configurations.runtimeClasspath
}
subprojects.each { p ->
into('config/sensorML') {
from("${p.projectDir}/sensorML")
}
}
}
}
}
apply from: gradle.oshCoreDir + '/release.gradle'