Skip to content

Commit cfb45c4

Browse files
committed
Bump dependencies
1 parent ae15f91 commit cfb45c4

File tree

9 files changed

+30
-10
lines changed

9 files changed

+30
-10
lines changed

.github/workflows/auto-bump-jdbc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ jobs:
154154
JSON_PAYLOAD=$(jq -n \
155155
--arg ver "${{ steps.decision.outputs.new_version }}" \
156156
--arg changelog "${{ steps.decision.outputs.changelog }}" \
157-
'{event_type: "sqlite_jdbc_bumped", client_payload: {version: $ver, changelog: $changelog}}')
157+
--arg ref "refs/heads/bump/sqlite-${{ steps.decision.outputs.new_version }}" \
158+
'{event_type: "sqlite_jdbc_bumped", client_payload: {version: $ver, changelog: $changelog, ref: $ref}}')
158159
159160
echo "Sending dispatch with payload: $JSON_PAYLOAD"
160161
echo "$JSON_PAYLOAD" | gh api \

.github/workflows/gradle.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ main ]
66
repository_dispatch:
77
types: [ sqlite_jdbc_bumped ]
8+
workflow_dispatch:
89

910
permissions:
1011
contents: write # Needed for ncipollo/release-action to create releases and tags
@@ -16,7 +17,8 @@ jobs:
1617
# 1. Check out sources
1718
- uses: actions/checkout@v3
1819
with:
19-
ref: 'main'
20+
# If triggered by dispatch, use the payload ref. Otherwise (push/manual), use main.
21+
ref: ${{ github.event.client_payload.ref || 'main' }}
2022
fetch-depth: 0 # Needed for changelogs based on git history
2123

2224
# 2. Extract Changelog

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
plugins {
22
id "java"
3-
id "com.github.johnrengelman.shadow" version "7.1.2"
3+
id "com.gradleup.shadow" version "9.3.0"
44
}
55

66
group = 'pl.kosma'
7-
archivesBaseName = "${project.library_name}"
87
version = "${project.library_version}+${project.release_date}"
8+
base {
9+
archivesName = "${project.library_name}"
10+
}
911

1012
repositories {
1113
mavenCentral()

forge-1.12/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ plugins {
22
id "java"
33
}
44

5+
base {
6+
archivesName = "${rootProject.name}-${project.name}"
7+
}
8+
59
java {
6-
archivesBaseName = "${rootProject.name}-${project.name}"
710
toolchain.languageVersion = JavaLanguageVersion.of(8)
811
}
912

forge-1.13/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ plugins {
22
id 'net.minecraftforge.gradle' version '6.0.+'
33
}
44

5+
base {
6+
archivesName = "${rootProject.name}-${project.name}"
7+
}
8+
59
java {
6-
archivesBaseName = "${rootProject.name}-${project.name}"
710
toolchain.languageVersion = JavaLanguageVersion.of(8)
811
}
912

forge-1.17/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ plugins {
22
id 'java'
33
}
44

5+
base {
6+
archivesName = "${rootProject.name}-${project.name}"
7+
}
8+
59
java {
6-
archivesBaseName = "${rootProject.name}-${project.name}"
710
toolchain.languageVersion = JavaLanguageVersion.of(8)
811
}
912

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

neoforge-1.21/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ plugins {
22
id 'java'
33
}
44

5+
base {
6+
archivesName = "${rootProject.name}-${project.name}"
7+
}
8+
59
java {
6-
archivesBaseName = "${rootProject.name}-${project.name}"
710
toolchain.languageVersion = JavaLanguageVersion.of(21)
811
}
912

spigot/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ repositories {
99
maven { url 'https://oss.sonatype.org/content/repositories/central' }
1010
}
1111

12+
base {
13+
archivesName = "${rootProject.name}-${project.name}"
14+
}
15+
1216
java {
13-
archivesBaseName = "${rootProject.name}-${project.name}"
1417
toolchain.languageVersion = JavaLanguageVersion.of(8)
1518
}
1619

0 commit comments

Comments
 (0)