Skip to content

Commit

Permalink
build: Fix Balm not being marked as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 30, 2024
1 parent 35ef1a3 commit 6dc93c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -77,5 +78,6 @@ modrinth {
loaders = ['fabric']
dependencies {
required.project "fabric-api"
required.project "balm"
}
}
4 changes: 4 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -115,4 +116,7 @@ modrinth {
gameVersions = project.minecraft_versions.split(',').toList()
syncBodyFrom = rootProject.file("modpage.md").text
loaders = ['forge']
dependencies {
required.project "balm"
}
}
4 changes: 4 additions & 0 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -89,4 +90,7 @@ modrinth {
gameVersions = project.minecraft_versions.split(',').toList()
syncBodyFrom = rootProject.file("modpage.md").text
loaders = ['neoforge']
dependencies {
required.project "balm"
}
}

0 comments on commit 6dc93c0

Please sign in to comment.