Skip to content

Commit 3a05fb9

Browse files
committed
Fix some more publishing bugs
1 parent 7891b31 commit 3a05fb9

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## v3.0.1 / 3.0.2
1+
## v3.0.1 / 3.0.2 / 3.0.3
22
- Fix publishing
33

44
## v3.0.0

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def changelogMd = file('CHANGELOG.md')
1111
ext {
1212
changelog = changelogMd.exists() ? changelogMd.text : ''
1313
minecraft_version_list = minecraft_versions.split(",").toList()
14+
velocity_version_list = velocity_versions.split(",").toList()
1415
}
1516

1617
def copyShadowJar = it -> {
@@ -62,11 +63,11 @@ hangarPublish {
6263
}
6364
waterfall {
6465
jar = project(":bungeecord").tasks.named("shadowJar").get().outputs.files.singleFile
65-
platformVersions = minecraft_version_list
66+
platformVersions = List.of("1.21") // TODO: Check if 1.22 will be selectable on hangar since waterfall won't be updated
6667
}
6768
velocity {
6869
jar = project(":velocity").tasks.named("shadowJar").get().outputs.files.singleFile
69-
platformVersions = minecraft_version_list
70+
platformVersions = velocity_version_list
7071
}
7172
}
7273
}

forge/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ sourceSets.each {
8787
modrinth {
8888
token = findProperty('modrinth_api_token') as String ?: ''
8989
projectId = modrinth_project_id
90-
uploadFile = tasks.jarJar.archiveFile
90+
uploadFile = jarJar
9191
gameVersions = minecraft_version_list
9292
loaders = ["forge"]
9393
changelog = rootProject.changelog

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ forge_loader_version_range=[51,)
4545
neoforge_version=21.4.89-beta
4646
neoforge_loader_version_range=[6,)
4747

48+
# Velocity
49+
velocity_versions=3.4
50+
4851
# Publishing
4952
modrinth_project_id=6DdCzpTL
5053
curseforge_project_id_plugin=278568

0 commit comments

Comments
 (0)