diff --git a/jitpack.yml b/jitpack.yml index cc48da58..adb3fe10 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,5 +1,2 @@ jdk: - openjdk11 -install: - - ./gradlew main:clean main:build main:publishToMavenLocal - - ./gradlew plugin:clean plugin:shadowjar plugin:publishToMavenLocal -x jar diff --git a/main/build.gradle b/main/build.gradle index e97b0f15..ff95abb3 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -4,6 +4,11 @@ plugins { archivesBaseName = "lavasrc" +java { + withJavadocJar() + withSourcesJar() +} + dependencies { compileOnly "com.github.walkyst:lavaplayer-fork:1.3.98.4" implementation "org.jsoup:jsoup:1.14.3" @@ -15,7 +20,6 @@ publishing { maven(MavenPublication) { pom { artifactId archivesBaseName - from components.java } } diff --git a/plugin/build.gradle b/plugin/build.gradle index ca4875c9..b82326a4 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -16,7 +16,7 @@ dependencies { processResources { filter(ReplaceTokens, tokens: [ - VERSION: project.version, + VERSION: project.version, ]) } @@ -30,8 +30,10 @@ publishing { maven(MavenPublication) { pom { artifactId archivesBaseName - from components.java + artifacts { + shadowJar + } } } }