-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (44 loc) · 1.55 KB
/
build.gradle.kts
File metadata and controls
49 lines (44 loc) · 1.55 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
plugins {
id("java")
id("us.ihmc.ihmc-build")
}
ihmc {
group = "us.ihmc"
version = "5.2.0"
vcsUrl = "https://github.com/ihmcrobotics/zed-java-api"
openSource = true
description = "Use Stereolabs sensors such as ZED 2, ZED 2i, ZED X, ZED Mini, ZED X Mini from Java."
configureDependencyResolution()
configurePublications()
}
tasks.javadoc {
// The javadoc compiler has a lot of errors with the javacpp generated comments, but we need a javadoc.jar for publishing
exclude("us/ihmc/zed/**")
}
mainDependencies {
// Transitive dependencies
api("org.bytedeco:javacpp:1.5.11") {
isTransitive = true
}
api("org.bytedeco:cuda:12.6-9.5-1.5.11") {
isTransitive = true
}
api("us.ihmc:ihmc-native-library-loader:2.0.4") {
isTransitive = true
}
}
testDependencies {
val openblasVersion = "0.3.28-1.5.11"
api("org.bytedeco:openblas:$openblasVersion")
api("org.bytedeco:openblas:$openblasVersion:linux-x86_64")
api("org.bytedeco:openblas:$openblasVersion:linux-arm64")
api("org.bytedeco:openblas:$openblasVersion:windows-x86_64")
val opencvVersion = "4.10.0-1.5.11-20260107-ihmc" // Hosted on https://robotlabfiles.ihmc.us/repository
api("us.ihmc:opencv:$opencvVersion")
api("us.ihmc:opencv:$opencvVersion:linux-arm64")
api("us.ihmc:opencv:$opencvVersion:linux-arm64-gpu")
api("us.ihmc:opencv:$opencvVersion:linux-x86_64")
api("us.ihmc:opencv:$opencvVersion:linux-x86_64-gpu")
api("us.ihmc:opencv:$opencvVersion:windows-x86_64")
api("us.ihmc:opencv:$opencvVersion:windows-x86_64-gpu")
}