Skip to content

Commit

Permalink
Fix release tasks depending on remapjar
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Jan 29, 2024
1 parent 145244e commit a8fb6d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ if (System.getenv("CURSEFORGE_API_KEY") && !version.endsWith("-SNAPSHOT")) {
addGameVersion "NeoForge"
addGameVersion "Java 17"

mainArtifact(remapJar.archiveFile) {
mainArtifact(jar.archiveFile) {
displayName = "Modern Dynamics v${version}"
}
}
options {
forgeGradleIntegration = false
}
afterEvaluate {
tasks.getByName("curseforge${project.curseforge_project}").dependsOn remapJar
tasks.getByName("curseforge${project.curseforge_project}").dependsOn jar
}
}
}
Expand All @@ -272,7 +272,7 @@ if (System.getenv("MODRINTH_API_KEY") && !version.endsWith("-SNAPSHOT")) {
versionName = "Modern Dynamics v${version}"
delegate.changelog = changelog
versionType = releaseChannel.toUpperCase()
uploadFile = remapJar.archiveFile
uploadFile = jar.archiveFile
gameVersions = ["1.20.4"]
loaders = ["neoforge"]
}
Expand Down

0 comments on commit a8fb6d7

Please sign in to comment.