Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds platform for javacv #108

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ version_twelvemonkeys=3.11.0
version_jogl=2.3.2
version_joml=1.9.25
version_ktor=2.3.12
version_javacpp=1.5.10
version_artoolkitplus=2.3.1-1.5.9
version_ffmpeg=6.1.1-1.5.10
version_flycapture=2.13.3.31-1.5.9
version_leptonica=1.84.1-1.5.10
version_libdc1394=2.2.6-1.5.9
version_libfreenect=0.5.7-1.5.9
version_libfreenect2=0.2.0-1.5.9
version_librealsense=1.12.4-1.5.9
version_librealsense2=2.53.1-1.5.9
version_openblas=0.3.26-1.5.10
version_opencv=4.9.0-1.5.10
version_tesseract=5.3.4-1.5.10
2 changes: 2 additions & 0 deletions vitrivr-engine-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ dependencies {
/* Test Fixtures from Cottontail DB core. .*/
testFixturesImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: version_junit
testFixturesImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: version_junit


}

/* Publication of vitrivr engine core to Maven Central. */
Expand Down
31 changes: 30 additions & 1 deletion vitrivr-engine-index/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,42 @@ plugins {
id 'signing'
}



switch (org.gradle.internal.os.OperatingSystem.current()) {
case org.gradle.internal.os.OperatingSystem.LINUX:
project.ext.set("javacppPlatform", 'linux-x86_64')
break
case org.gradle.internal.os.OperatingSystem.WINDOWS:
project.ext.set("javacppPlatform", 'windows-x86_64')
break
case org.gradle.internal.os.OperatingSystem.MAC_OS:
project.ext.set("javacppPlatform", 'macosx-x86_64')
break
}

dependencies {

/* vitrivr core dependency. */
api project(':vitrivr-engine-core')
api project(':vitrivr-engine-module-m3d')

/** Java CV (used for video decoding). */
implementation group: 'org.bytedeco', name: 'javacv-platform', version: version_javacv
implementation group: 'org.bytedeco', name: 'javacv', version: version_javacv
implementation group: 'org.bytedeco', name: 'javacpp', version: version_javacpp, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'artoolkitplus', version: version_artoolkitplus, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'ffmpeg', version: version_ffmpeg, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'flycapture', version: version_flycapture, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'leptonica', version: version_leptonica, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'libdc1394', version: version_libdc1394, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'libfreenect', version: version_libfreenect, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'libfreenect2', version: version_libfreenect2, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'librealsense', version: version_librealsense, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'librealsense2', version: version_librealsense2, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'openblas', version: version_openblas, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'opencv', version: version_opencv, classifier: project.ext.javacppPlatform
implementation group: 'org.bytedeco', name: 'tesseract', version: version_tesseract, classifier: project.ext.javacppPlatform


/** ScrImage (used for image resizing). */
implementation group: 'com.sksamuel.scrimage', name: 'scrimage-core', version: version_scrimage
Expand Down