We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e0660 commit 941d203Copy full SHA for 941d203
buildSrc/src/main/groovy/multiloader-common.gradle
@@ -129,8 +129,12 @@ publishing {
129
publications {
130
mavenJava(MavenPublication) {
131
artifactId project.archivesBaseName
132
- artifact project.tasks.<Jar>findByName(project.name == "fabric" ? "remapJar" : "jar")
133
- artifact project.tasks.<Jar>findByName(project.name == "fabric" ? "remapSourcesJar" : "sourcesJar")
+ if (project.name == "fabric") {
+ from components.java
134
+ } else {
135
+ artifact project.jar
136
+ artifact project.sourcesJar
137
+ }
138
}
139
140
repositories {
0 commit comments