Mp3 Support

Mp3 support for custom discs!
This commit is contained in:
Navoei
2022-07-24 14:36:38 -05:00
parent 2c5381b7d9
commit c1050d2640
4 changed files with 47 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.0"
}
sourceCompatibility = JavaLanguageVersion.of(java_version as int)
@@ -21,6 +22,9 @@ dependencies {
implementation("com.googlecode.soundlibs:mp3spi:${mp3spi_version}") {
exclude group: 'junit', module: 'junit'
}
shadow("com.googlecode.soundlibs:mp3spi:${mp3spi_version}") {
exclude group: 'junit', module: 'junit'
}
implementation 'com.google.code.findbugs:jsr305:3.0.2'
@@ -46,4 +50,11 @@ repositories {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
mavenLocal()
}
shadowJar {
configurations = [project.configurations.shadow]
classifier 'shadow-dev'
//relocate 'javazoom', "me.navoei.${mod_id}.javazoom"
//relocate 'org.tritonus', "me.navoei.${mod_id}.tritonus"
}