diff --git a/buildSrc/src/main/kotlin/bluemap.ore.gradle.kts b/buildSrc/src/main/kotlin/bluemap.ore.gradle.kts index 6c2b4766..57381845 100644 --- a/buildSrc/src/main/kotlin/bluemap.ore.gradle.kts +++ b/buildSrc/src/main/kotlin/bluemap.ore.gradle.kts @@ -9,10 +9,9 @@ oreDeployment { projectId = "bluemap" createForumPost = true versionBody = project.releaseNotes() - publishArtifacts.setFrom(tasks.getByName("release").outputs.files.singleFile) } } -tasks.publishToOre { +tasks.getByName("publishDefaultPublicationToOre") { dependsOn(tasks.getByName("release")) } diff --git a/implementations/sponge/build.gradle.kts b/implementations/sponge/build.gradle.kts index cd6d60f6..242938c4 100644 --- a/implementations/sponge/build.gradle.kts +++ b/implementations/sponge/build.gradle.kts @@ -71,6 +71,12 @@ tasks.shadowJar { } +oreDeployment { + defaultPublication { + publishArtifacts.setFrom( tasks.getByName("release").outputs.files.singleFile ) + } +} + modrinth { gameVersions.addAll(supportedMinecraftVersions) }