From 3fc5000d4e48afd35f3a49b9182e3eb66d5f9551 Mon Sep 17 00:00:00 2001 From: TopiSenpai Date: Sat, 3 Jun 2023 21:07:43 +0200 Subject: [PATCH] test gradle changes --- jitpack.yml | 3 --- main/build.gradle | 6 +++++- plugin/build.gradle | 6 ++++-- 3 files changed, 9 insertions(+), 6 deletions(-) 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 + } } } }