Skip to content

Commit

Permalink
fix publishModrinth error
Browse files Browse the repository at this point in the history
  • Loading branch information
plusls committed Jan 22, 2022
1 parent 10e9ba0 commit c5f0567
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ dependencies {
include("net.earthcomputer.multiconnect:multiconnect-api:${project.multiconnect_version}")
modImplementation("maven.modrinth:modmenu:${project.mod_menu_version}")
modImplementation("curse.maven:carpet-tis-addition-397510:${project.tis_carpet_version}")
modRuntime("curse.maven:lazydfu-433518:${project.lazydfu_version}")
modRuntime("curse.maven:in-game-account-switcher-232676:${project.in_game_account_switcher_version}")
modRuntimeOnly("curse.maven:lazydfu-433518:${project.lazydfu_version}")
modRuntimeOnly("curse.maven:in-game-account-switcher-232676:${project.in_game_account_switcher_version}")
modRuntime("curse.maven:imblockerfabric-399225:${project.imblockerfabric}")
// tis carpet need
modRuntime("curse.maven:carpet-349239:${project.carpet_version}")
modRuntimeOnly("curse.maven:carpet-349239:${project.carpet_version}")
runtimeOnly("org.yaml:snakeyaml:${project.snakeyaml_version}")
}

Expand Down Expand Up @@ -91,7 +91,7 @@ task publishModrinth(type: TaskModrinthUpload) {
token = System.getenv("MODRINTH")
changelog = System.getenv("CHANGELOG")
projectId = "SFO4Ca80"
versionNumber = version
versionNumber = "${project.mod_version}-${project.minecraft_version}"
// On fabric, use "remapJar" instead of "jar"
uploadFile = remapJar
addGameVersion(project.minecraft_version as String)
Expand Down

0 comments on commit c5f0567

Please sign in to comment.