From 401ebe4ebd9fc408c1a112acb4d8c11a42ca8647 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Tue, 2 Apr 2024 09:22:38 +0200 Subject: [PATCH 1/5] =?UTF-8?q?chore:=20=F0=9F=94=A7=20Change=20dev=20vers?= =?UTF-8?q?ions=20to=20have=20-DEV=20suffix=20to=20prevent=20snapshot=20su?= =?UTF-8?q?ffix=20being=20converted=20into=20timestamp=20by=20maven=20publ?= =?UTF-8?q?ish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 0ef76190..d61b2a6a 100755 --- a/build.gradle +++ b/build.gradle @@ -147,7 +147,7 @@ static def getBuildNumber() { static def getStable() { if ((System.getenv("GITHUB_REF") == null || System.getenv("GITHUB_REF").endsWith("-dev"))) { - return "-SNAPSHOT" + return "-DEV" } return "" } From 3f5798368329c28f7453ea1bf24c1787aef94242 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Tue, 2 Apr 2024 11:11:30 +0200 Subject: [PATCH 2/5] =?UTF-8?q?chore:=20=F0=9F=94=A7=20Fixing=20publish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index d61b2a6a..fc37c2fb 100755 --- a/build.gradle +++ b/build.gradle @@ -147,7 +147,7 @@ static def getBuildNumber() { static def getStable() { if ((System.getenv("GITHUB_REF") == null || System.getenv("GITHUB_REF").endsWith("-dev"))) { - return "-DEV" + return "-dev" } return "" } From ee33b4084a3e0be8edc08ce0a8a9a7ddcce4c4f0 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Tue, 2 Apr 2024 12:08:34 +0200 Subject: [PATCH 3/5] =?UTF-8?q?chore:=20=F0=9F=94=A7=20Fixing=20publish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 58209273..6fe96b9d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -27,7 +27,7 @@ jobs: - name: Publish to Github Packages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew build publish + run: ./gradlew build publish --info - name: Cleanup old artifacts uses: actions/delete-package-versions@v3 with: @@ -74,4 +74,4 @@ jobs: embed-description: "${{steps.embed.outputs.EMBED_DESCRIPTION}}" embed-author-name: "${{steps.embed.outputs.EMBED_AUTHOR_NAME}}" embed-author-icon-url: "${{steps.embed.outputs.EMBED_AUTHOR_ICON_URL}}" - embed-color: 58633 \ No newline at end of file + embed-color: 58633 From c450d757294d7ef56df40ac3b8d120641cdf15f9 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Tue, 2 Apr 2024 13:39:24 +0200 Subject: [PATCH 4/5] =?UTF-8?q?chore:=20=F0=9F=94=A7=20Fixing=20publish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index fc37c2fb..42d7a37a 100755 --- a/build.gradle +++ b/build.gradle @@ -109,19 +109,6 @@ tasks.withType(ProcessResources).configureEach { } } -publishing { - publications { - register('mavenJava', MavenPublication) { - from components.java - } - } - repositories { - maven { - url "file://${project.projectDir}/repo" - } - } -} - tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' } @@ -180,4 +167,4 @@ sonarqube { task printVersionName { println "version:" + project.version -} \ No newline at end of file +} From 29b05573fcaf43069c1f9e0551e596372f916906 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Tue, 2 Apr 2024 13:52:44 +0200 Subject: [PATCH 5/5] =?UTF-8?q?chore:=20=F0=9F=94=A7=20Fixing=20sonar=20ru?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 42d7a37a..06600156 100755 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { id 'idea' id 'maven-publish' id 'net.neoforged.gradle.userdev' version '7.0.101' - id "org.sonarqube" version "3.3" + id "org.sonarqube" version "5.0.0.4638" } idea {