Modular java binding for opus natives.
All artifacts are published to jcenter.
Gradle
repositories {
jcenter()
}
Maven
<repository>
<id>jcenter</id>
<name>bintray-jcenter</name>
<url>https://jcenter.bintray.com</url>
</repository>
Note: Replace %VERSION%
with the version above.
This artifact only provides the interface to access the native opus libraries.
It can be used without opus-java-natives
by providing the library to OpusLibrary.loadFrom(String)
using
an absolute path.
Gradle
dependencies {
compile 'club.minnced:opus-java-api:%VERSION%'
}
Maven
<dependency>
<groupId>club.minnced</groupId>
<artifactId>opus-java-api</artifactId>
<version>%VERSION%</version>
</dependency>
Note: Replace %VERSION%
with the version above.
This artifact only provides the native opus libraries as resources.
The libraries are located under /natives
and can be loaded at runtime.
Gradle
dependencies {
compile 'club.minnced:opus-java-natives:%VERSION%'
}
Maven
<dependency>
<groupId>club.minnced</groupId>
<artifactId>opus-java-natives</artifactId>
<version>%VERSION%</version>
</dependency>
Note: Replace %VERSION%
with the version above.
This artifact depends on api and natives while not providing
any other features. This can be used if you want all features of this binding.
Note that this is of type pom
rather than the default jar
.
Gradle
dependencies {
compile ('club.minnced:opus-java:%VERSION%@pom') {
transitive = true // gradle defaults to transitive false with @pom
}
}
Maven
<dependency>
<groupId>club.minnced</groupId>
<artifactId>opus-java</artifactId>
<version>%VERSION%</version>
<type>pom</type>
</dependency>