From 85049c3679df029008a8a11a4799f9d06f660594 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:04:41 +0200 Subject: [PATCH] Updated GitHub actions --- .github/workflows/build.yml | 6 +++--- build.gradle | 15 ++++++++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f054e95..5fcd6ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,9 +9,9 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/actions/wrapper-validation@v4 - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 21 @@ -19,7 +19,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - name: Upload Artifacts to GitHub - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Artifacts path: build/libs/ diff --git a/build.gradle b/build.gradle index aa2c493..d6cdd6e 100644 --- a/build.gradle +++ b/build.gradle @@ -24,18 +24,23 @@ repositories { name = "Sonatype Snapshots" url = "https://oss.sonatype.org/content/repositories/snapshots" } - maven { - name = "Jitpack" - url = "https://jitpack.io" - } maven { name = "ViaVersion" - url "https://repo.viaversion.com" + url = "https://repo.viaversion.com" } maven { name = "lucko" url = "https://repo.lucko.me" } + maven { + name = "Jitpack" + url = "https://jitpack.io" + + content { + includeGroup "com.github.AlexProgrammerDE.spark" + includeGroup "com.github.jvm-profiling-tools" + } + } } dependencies {