diff options
| author | Aizistral | 2026-01-25 03:32:07 +0100 |
|---|---|---|
| committer | Aizistral | 2026-01-25 03:32:07 +0100 |
| commit | 0569f181aea94bfca2f1ca30d98e993b176a7924 (patch) | |
| tree | 82ac043cf0c2f584c1570baa7c1166fb299e488b /Fabric/build.gradle | |
| parent | 8db5cd06c5a8649fff406ec3e72517716c472409 (diff) | |
More publishing suffering
Diffstat (limited to 'Fabric/build.gradle')
| -rw-r--r-- | Fabric/build.gradle | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 66c12f9..701031a 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'net.fabricmc.fabric-loom-remap' version "${loom_version}" + id 'fabric-loom' version "${loom_version}" id 'maven-publish' id "com.modrinth.minotaur" version "2.+" id "com.matthewprenger.cursegradle" version "1.4.0" @@ -66,6 +66,7 @@ curseforge { releaseType = 'release' changelogType = 'markdown' changelog = file('../CHANGELOG.md') + mainArtifact(remapJar) addGameVersion '1.16.4' addGameVersion '1.16.5' @@ -82,10 +83,10 @@ modrinth { token = findProperty('modrinthKey') ?: '0' projectId = "z440MEwJ" versionNumber = project.version - versionName = "No Chat Restrictions v" + project.version + versionName = "No Chat Restrictions " + project.version versionType = "release" changelog = rootProject.file("../CHANGELOG.md").text - uploadFile = jar + uploadFile = remapJar gameVersions = [ '1.16.4', '1.16.5' ] loaders = [ 'fabric' ] @@ -94,6 +95,15 @@ modrinth { } } +afterEvaluate { + tasks.named('modrinth') { + dependsOn(remapJar) + } + tasks.named('curseforge') { + dependsOn(remapJar) + } +} + task upload { dependsOn('modrinth') dependsOn('curseforge') |
