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 0e52a4b commit 9351955Copy full SHA for 9351955
src/main/groovy/net/minecraftforge/gradleutils/GradleUtilsExtensionImpl.groovy
@@ -169,7 +169,8 @@ import static net.minecraftforge.gradleutils.GradleUtilsPlugin.LOGGER
169
project.pluginManager.withPlugin('publishing') {
170
if (this.problems.test('net.minecraftforge.gradleutils.publishing.use-base-archives-name')) {
171
project.extensions.getByType(PublishingExtension).publications.withType(MavenPublication).configureEach {
172
- it.artifactId = project.extensions.getByType(BasePluginExtension).archivesName
+ if (it.artifactId == project.name)
173
+ it.artifactId = project.extensions.getByType(BasePluginExtension).archivesName
174
}
175
176
0 commit comments