From 6dc93c0d063d7319e877966d7a05986403e18a8f Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Thu, 30 May 2024 07:28:27 +0200 Subject: [PATCH] build: Fix Balm not being marked as dependency --- fabric/build.gradle | 2 ++ forge/build.gradle | 4 ++++ neoforge/build.gradle | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/fabric/build.gradle b/fabric/build.gradle index ec14237..965b2b7 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -61,6 +61,7 @@ task curseforge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) { def mainFile = upload(curseforge_fabric_project_id, file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) mainFile.changelog = rootProject.file('CHANGELOG.md').text mainFile.addRequirement("fabric-api") + mainFile.addRequirement("balm-fabric") project.minecraft_versions.split(',').toList().each { mainFile.addGameVersion(it) } mainFile.releaseType = "release" } @@ -77,5 +78,6 @@ modrinth { loaders = ['fabric'] dependencies { required.project "fabric-api" + required.project "balm" } } \ No newline at end of file diff --git a/forge/build.gradle b/forge/build.gradle index 4dd8a21..73f2ced 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -101,6 +101,7 @@ task curseforge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) { def mainFile = upload(curseforge_forge_project_id, file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) mainFile.changelog = rootProject.file('CHANGELOG.md').text + mainFile.addRequirement("balm") project.minecraft_versions.split(',').toList().each { mainFile.addGameVersion(it) } mainFile.releaseType = "release" } @@ -115,4 +116,7 @@ modrinth { gameVersions = project.minecraft_versions.split(',').toList() syncBodyFrom = rootProject.file("modpage.md").text loaders = ['forge'] + dependencies { + required.project "balm" + } } \ No newline at end of file diff --git a/neoforge/build.gradle b/neoforge/build.gradle index a5886d7..b89b20c 100644 --- a/neoforge/build.gradle +++ b/neoforge/build.gradle @@ -75,6 +75,7 @@ task curseforge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) { def mainFile = upload(curseforge_forge_project_id, file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) mainFile.changelog = rootProject.file('CHANGELOG.md').text + mainFile.addRequirement("balm") project.minecraft_versions.split(',').toList().each { mainFile.addGameVersion(it) } mainFile.releaseType = "release" } @@ -89,4 +90,7 @@ modrinth { gameVersions = project.minecraft_versions.split(',').toList() syncBodyFrom = rootProject.file("modpage.md").text loaders = ['neoforge'] + dependencies { + required.project "balm" + } } \ No newline at end of file