Skip to content

Commit

Permalink
chore: bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw0014 committed Aug 15, 2024
1 parent 48e6284 commit 940cc38
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
build:
if: startsWith(github.event.head_commit.message, '[CI skip]') == false
Expand All @@ -22,19 +25,17 @@ jobs:
java-version: 17
distribution: temurin

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup gradle
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle
uses: gradle/gradle-build-action@v3
with:
arguments: build
run: ./gradlew build

- name: Get build artifact ready
run: mkdir staging && cp build/libs/*.jar staging

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: dev-build
name: preview-build
path: staging
4 changes: 4 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
types: [opened, synchronize, reopened]
branches:
- main

permissions:
contents: read

jobs:
build:
name: Build and analyze
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
kotlin("jvm") version "1.9.23"
kotlin("jvm") version "2.0.10"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("org.sonarqube") version "5.0.0.4638"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("org.sonarqube") version "5.0.0.4638"
}

group = "io.github.slimefunguguproject"
Expand Down Expand Up @@ -56,7 +56,7 @@ bukkit {
apiVersion = "1.16"
authors = listOf("bxx2004", "LobbyTech-MC", "zimzaza4", "haiman233", "ybw0014")
depend = listOf("Slimefun")
softDepend = listOf("GuizhanLibPlugin")
softDepend = listOf("GuizhanLibPlugin", "SlimefunTranslation")
}

sonar {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 940cc38

Please sign in to comment.