diff --git a/Common/build.gradle b/Common/build.gradle index cbcf463..364b700 100644 --- a/Common/build.gradle +++ b/Common/build.gradle @@ -42,7 +42,7 @@ publishing { publications { gpr(MavenPublication) { groupId = rootProject.group - artifactId "${rootProject.mod_id}-common" + artifactId = "${rootProject.mod_id}-common" version = rootProject.mod_version from(components.java) } diff --git a/Fabric/build.gradle b/Fabric/build.gradle index cb83cd7..5e4bb41 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -114,10 +114,10 @@ rootProject.tasks.curseforge.dependsOn tasks.curseforge publishing { publications { mavenJava(MavenPublication) { - groupId rootProject.group - artifactId "${rootProject.mod_id}-fabric" - version rootProject.mod_version - from components.java + groupId = rootProject.group + artifactId = "${rootProject.mod_id}-fabric" + version = rootProject.mod_version + artifact remapJar } } repositories { diff --git a/Forge/build.gradle b/Forge/build.gradle index 76f7660..72ce521 100644 --- a/Forge/build.gradle +++ b/Forge/build.gradle @@ -190,7 +190,6 @@ if (ENV.MODRINTH_TOKEN) modrinth { required.project "ordsPcFz" } - syncBodyFrom = rootProject.file("README.md").text } @@ -200,9 +199,9 @@ rootProject.tasks.curseforge.dependsOn tasks.curseforge publishing { publications { mavenJava(MavenPublication) { - groupId rootProject.group - artifactId "${rootProject.mod_id}-forge" - version rootProject.mod_version + groupId = rootProject.group + artifactId = "${rootProject.mod_id}-forge" + version = rootProject.mod_version artifact jar } }