We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6055b68 commit bab61dfCopy full SHA for bab61df
1 file changed
build.gradle
@@ -134,11 +134,14 @@ publishing {
134
}
135
publications {
136
maven(MavenPublication) {
137
- artifactId base.archivesName.get()
138
- from components.java
+ artifactId = base.archivesName.get()
+
139
+ artifact(tasks.shadowJar)
140
+ artifact(tasks.sourcesJar)
141
+ artifact(tasks.javadocJar)
142
pom.withXml {
143
asNode().dependencies.dependency.each { dep ->
- if (dep.groupId.text() == 'com.buuz135' && dep.groupId.text() == 'curse.maven') {
144
+ if (dep.groupId.text() == 'com.buuz135' || dep.groupId.text() == 'curse.maven') {
145
dep.parent().remove(dep)
146
147
0 commit comments