Skip to content

Commit d134369

Browse files
committed
Work around Scala multiversion publishing
JAVA-3564
1 parent ce69cb3 commit d134369

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.evergreen/publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ echo "Publishing snapshot with jdk11"
2424
export JAVA_HOME="/opt/java/jdk11"
2525

2626
./gradlew -version
27-
./gradlew publishSnapshots -PallScalaVersions=true
27+
./gradlew publishSnapshots
28+
./gradlew :bson-scala:publishSnapshots :driver-scala:publishSnapshots -PdefaultScalaVersions=2.11.12,2.12.10

gradle/deploy.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ configure(deployedProjects) {
1919

2020
def isScala = project.name.contains('scala')
2121
def hasAllScalaVersions = project.hasProperty('allScalaVersions')
22-
def isInvalidScalaProject = isScala && !hasAllScalaVersions
22+
def isInvalidScalaProject = false // isScala && !hasAllScalaVersions // TODO JAVA-3564
2323

2424
task publishSnapshots {
2525
group = 'publishing'

0 commit comments

Comments
 (0)