From 933aeb92217137d90cb7f5e4baf160f92ce04a2e Mon Sep 17 00:00:00 2001 From: PssbleTrngle Date: Mon, 1 Aug 2022 22:15:13 +0200 Subject: [PATCH] fix artifact publishing --- Common/build.gradle | 2 +- Fabric/build.gradle | 8 ++++---- Forge/build.gradle | 7 +++---- 3 files changed, 8 insertions(+), 9 deletions(-) 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 } }