diff --git a/gradle/deploy.gradle b/gradle/deploy.gradle index 9c2afed..666acb7 100644 --- a/gradle/deploy.gradle +++ b/gradle/deploy.gradle @@ -9,6 +9,7 @@ tasks.register('checkIfPublicVersion') { } tasks.register('publishAll') { + dependsOn('build') dependsOn('checkIfPublicVersion') dependsOn('publish') dependsOn('publishMods') @@ -40,14 +41,6 @@ publishMods { } } -tasks.register('publishAll') { - dependsOn('build') - dependsOn('checkIfPublicVersion') - dependsOn('publish') - dependsOn('publishMods') -} - - tasks.withType(GenerateModuleMetadata).configureEach { enabled = false }