Modular java binding for opus natives.
All artifacts are published to maven central.
Gradle
repositories {
mavenCentral()
}
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 {
implementation("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 {
implementation("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.
Gradle
dependencies {
implementation("club.minnced:opus-java:%VERSION%")
}
Maven
<dependency>
<groupId>club.minnced</groupId>
<artifactId>opus-java</artifactId>
<version>%VERSION%</version>
</dependency>