Explicitly set build task as dependency
This commit is contained in:
parent
a77d6ef17c
commit
938416a039
|
@ -262,7 +262,7 @@ dependencies {
|
|||
}
|
||||
}
|
||||
|
||||
task modrinth(type: TaskModrinthUpload, dependsOn: remapJar) {
|
||||
task modrinth(type: TaskModrinthUpload, dependsOn: build) {
|
||||
onlyIf {
|
||||
ENV.MODRINTH_API_TOKEN
|
||||
}
|
||||
|
@ -291,7 +291,7 @@ curseforge {
|
|||
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))
|
||||
mainArtifact.displayName = "[${project.minecraft_version}] ${project.mod_version}"
|
||||
afterEvaluate {
|
||||
uploadTask.dependsOn(remapJar)
|
||||
uploadTask.dependsOn(build)
|
||||
}
|
||||
}
|
||||
options {
|
||||
|
|
Loading…
Reference in New Issue