mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
6620b49d50
Added working demo using GStreamer Java bindings
35 lines
No EOL
673 B
Groovy
35 lines
No EOL
673 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
|
|
// GStreamer
|
|
compile "net.java.dev.jna:jna:5.2.0"
|
|
compile "org.freedesktop.gstreamer:gst1-java-core:0.9.4"
|
|
|
|
// Websockets
|
|
compile 'org.asynchttpclient:async-http-client:2.7.0'
|
|
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
|
|
|
|
// Logging
|
|
compile 'org.slf4j:slf4j-simple:1.8.0-beta2'
|
|
}
|
|
|
|
|
|
// Build a "fat" executable jar file
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'WebrtcSendRecv'
|
|
}
|
|
from {
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
} |