Skip to content

Commit

Permalink
fix artifact publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Aug 1, 2022
1 parent 4e2e0e4 commit 933aeb9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
8 changes: 4 additions & 4 deletions Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 3 additions & 4 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ if (ENV.MODRINTH_TOKEN) modrinth {
required.project "ordsPcFz"
}


syncBodyFrom = rootProject.file("README.md").text
}

Expand All @@ -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
}
}
Expand Down

0 comments on commit 933aeb9

Please sign in to comment.