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 0f5ff83 commit cb7ad51Copy full SHA for cb7ad51
gradle/publish.gradle
@@ -116,7 +116,7 @@ configure(scalaProjects) { project ->
116
publishing {
117
publications {
118
mavenJava(MavenPublication) {
119
- artifactId = project.archivesBaseName
+ artifactId = project.archivesBaseName.contains('bson') ? 'mongo-scala-bson' : 'mongo-scala-driver'
120
from project.components.java
121
artifact sourcesJar
122
if (!scalaVersion.startsWith("2.13")) {
@@ -130,7 +130,6 @@ configure(scalaProjects) { project ->
130
}
131
132
afterEvaluate {
133
- publishing.publications.mavenJava.artifactId = project.archivesBaseName
134
signing {
135
sign publishing.publications.mavenJava
136
0 commit comments