diff --git a/main/build.gradle b/main/build.gradle index 5839aa20..e97b0f15 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -2,6 +2,8 @@ plugins { id "java-library" } +archivesBaseName = "lavasrc" + dependencies { compileOnly "com.github.walkyst:lavaplayer-fork:1.3.98.4" implementation "org.jsoup:jsoup:1.14.3" @@ -12,7 +14,7 @@ publishing { publications { maven(MavenPublication) { pom { - artifactId "lavasrc" + artifactId archivesBaseName from components.java } diff --git a/plugin/build.gradle b/plugin/build.gradle index 1ec73e32..ca4875c9 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -6,6 +6,7 @@ plugins { } mainClassName = "org.springframework.boot.loader.JarLauncher" +archivesBaseName = "lavasrc-plugin" dependencies { compileOnly("dev.arbjerg.lavalink:plugin-api:3.6.1") @@ -28,7 +29,7 @@ publishing { publications { maven(MavenPublication) { pom { - artifactId "lavasrc-plugin" + artifactId archivesBaseName from components.java }