-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
87 lines (66 loc) · 2.27 KB
/
build.gradle
File metadata and controls
87 lines (66 loc) · 2.27 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
plugins {
id 'java-library'
}
var oshCoreDir = "$projectDir/submodules/osh-core"
apply from: oshCoreDir + '/common.gradle'
group = 'org.sensorhub'
version = '1.0'
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.eclipse.jetty.websocket:websocket-client:9.4.56.v20240826'
implementation 'org.json:json:20240303'
api 'org.sensorhub:sensorhub-core:' + oshCoreVersion
implementation 'org.sensorhub:sensorhub-datastore-h2:' + oshCoreVersion
implementation 'org.sensorhub:sensorhub-service-consys:' + oshCoreVersion
implementation 'org.vast.opengis:swe-common-om:' + oshCoreVersion
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.awaitility:awaitility:4.2.2'
testImplementation 'org.sensorhub:sensorhub-core:' + oshCoreVersion
testImplementation 'org.sensorhub:sensorhub-core-osgi:' + oshCoreVersion
testImplementation 'org.sensorhub:sensorhub-datastore-h2:' + oshCoreVersion
testImplementation 'org.sensorhub:sensorhub-service-swe:' + oshCoreVersion
testImplementation 'org.sensorhub:sensorhub-webui-core:' + oshCoreVersion
testImplementation 'org.sensorhub:sensorhub-service-consys:' + oshCoreVersion
testImplementation project(':sensorhub-driver-ffmpeg')
testImplementation project(':sensorhub-driver-template')
testImplementation project(':sensorhub-driver-fakeweather')
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
subprojects {
repositories {
mavenCentral()
google()
}
apply plugin: 'java-library'
ext.pom = {}
}
jar {
enabled = true
archiveBaseName.set('OSHConnect-Java')
archiveVersion.set(version)
destinationDirectory.set(file("$buildDir/libs"))
}
test {
useJUnitPlatform()
forkEvery = 1
maxParallelForks = 1
}
project(':sensorhub-driver-template') {
tasks.named('test') {
enabled = false
}
}
project(':sensorhub-driver-fakeweather') {
tasks.named('test') {
enabled = false
}
}