https://github.com/discord-java/opus-java
Opus java binaries
https://github.com/discord-java/opus-java
discord gradle java opus
Last synced: 23 days ago
JSON representation
Opus java binaries
- Host: GitHub
- URL: https://github.com/discord-java/opus-java
- Owner: discord-java
- License: apache-2.0
- Created: 2018-04-06T13:22:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-29T15:22:04.000Z (about 4 years ago)
- Last Synced: 2024-11-15T09:38:15.558Z (about 1 year ago)
- Topics: discord, gradle, java, opus
- Language: Java
- Homepage:
- Size: 2.21 MB
- Stars: 43
- Watchers: 8
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[api-version]: https://img.shields.io/maven-central/v/club.minnced/opus-java-api
[api-download]: https://mvnrepository.com/artifact/club.minnced/opus-java-api/latest
[natives-version]: https://img.shields.io/maven-central/v/club.minnced/opus-java-natives
[natives-download]: https://mvnrepository.com/artifact/club.minnced/opus-java-natives/latest
[core-version]: https://img.shields.io/maven-central/v/club.minnced/opus-java
[core-download]: https://mvnrepository.com/artifact/club.minnced/opus-java/latest
# opus-java
Modular java binding for opus natives.
## Artifacts
All artifacts are published to **maven central**.
**Gradle**
```gradle
repositories {
mavenCentral()
}
```
### opus-java-api
[ ![version-image][api-version] ][api-download]
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**
```gradle
dependencies {
implementation("club.minnced:opus-java-api:%VERSION%")
}
```
**Maven**
```xml
club.minnced
opus-java-api
%VERSION%
```
### opus-java-natives
[ ![version-image][natives-version] ][natives-download]
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**
```gradle
dependencies {
implementation("club.minnced:opus-java-natives:%VERSION%")
}
```
**Maven**
```xml
club.minnced
opus-java-natives
%VERSION%
```
### opus-java
[ ![version-image][core-version] ][core-download]
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**
```gradle
dependencies {
implementation("club.minnced:opus-java:%VERSION%")
}
```
**Maven**
```xml
club.minnced
opus-java
%VERSION%
```