Skip to content

Commit

Permalink
Build: Bump scala-collection-compat from 2.12.0 to 2.13.0 (#12121)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuzhang authored Jan 29, 2025
1 parent 8e456ae commit e89798e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ object-client-bundle = "3.3.2"
orc = "1.9.5"
parquet = "1.15.0"
roaringbitmap = "1.3.0"
scala-collection-compat = "2.12.0"
scala-collection-compat = "2.13.0"
slf4j = "2.0.16"
snowflake-jdbc = "3.21.0"
spark-hive33 = "3.3.4"
Expand Down
8 changes: 0 additions & 8 deletions spark/v3.3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ project(":iceberg-spark:iceberg-spark-${sparkMajorVersion}_${scalaVersion}") {
implementation project(':iceberg-parquet')
implementation project(':iceberg-arrow')
implementation("org.scala-lang.modules:scala-collection-compat_${scalaVersion}:${libs.versions.scala.collection.compat.get()}")
if (scalaVersion == '2.12') {
// scala-collection-compat_2.12 pulls scala 2.12.17 and we need 2.12.18 for JDK 21 support
implementation 'org.scala-lang:scala-library:2.12.18'
}

compileOnly libs.errorprone.annotations
compileOnly libs.avro.avro
Expand Down Expand Up @@ -141,10 +137,6 @@ project(":iceberg-spark:iceberg-spark-extensions-${sparkMajorVersion}_${scalaVer

dependencies {
implementation "org.scala-lang.modules:scala-collection-compat_${scalaVersion}:${libs.versions.scala.collection.compat.get()}"
if (scalaVersion == '2.12') {
// scala-collection-compat_2.12 pulls scala 2.12.17 and we need 2.12.18 for JDK 21 support
implementation 'org.scala-lang:scala-library:2.12.18'
}
implementation libs.roaringbitmap

compileOnly "org.scala-lang:scala-library"
Expand Down
8 changes: 0 additions & 8 deletions spark/v3.4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ project(":iceberg-spark:iceberg-spark-${sparkMajorVersion}_${scalaVersion}") {
implementation project(':iceberg-arrow')
implementation("org.scala-lang.modules:scala-collection-compat_${scalaVersion}:${libs.versions.scala.collection.compat.get()}")
implementation("org.apache.datasketches:datasketches-java:${libs.versions.datasketches.get()}")
if (scalaVersion == '2.12') {
// scala-collection-compat_2.12 pulls scala 2.12.17 and we need 2.12.18 for JDK 21 support
implementation 'org.scala-lang:scala-library:2.12.18'
}

compileOnly libs.errorprone.annotations
compileOnly libs.avro.avro
Expand Down Expand Up @@ -148,10 +144,6 @@ project(":iceberg-spark:iceberg-spark-extensions-${sparkMajorVersion}_${scalaVer

dependencies {
implementation("org.scala-lang.modules:scala-collection-compat_${scalaVersion}:${libs.versions.scala.collection.compat.get()}")
if (scalaVersion == '2.12') {
// scala-collection-compat_2.12 pulls scala 2.12.17 and we need 2.12.18 for JDK 21 support
implementation 'org.scala-lang:scala-library:2.12.18'
}
implementation libs.roaringbitmap

compileOnly "org.scala-lang:scala-library"
Expand Down
8 changes: 0 additions & 8 deletions spark/v3.5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ project(":iceberg-spark:iceberg-spark-${sparkMajorVersion}_${scalaVersion}") {
implementation project(':iceberg-arrow')
implementation("org.scala-lang.modules:scala-collection-compat_${scalaVersion}:${libs.versions.scala.collection.compat.get()}")
implementation("org.apache.datasketches:datasketches-java:${libs.versions.datasketches.get()}")
if (scalaVersion == '2.12') {
// scala-collection-compat_2.12 pulls scala 2.12.17 and we need 2.12.18 for JDK 21 support
implementation 'org.scala-lang:scala-library:2.12.18'
}

compileOnly libs.errorprone.annotations
compileOnly libs.avro.avro
Expand Down Expand Up @@ -147,10 +143,6 @@ project(":iceberg-spark:iceberg-spark-extensions-${sparkMajorVersion}_${scalaVer

dependencies {
implementation("org.scala-lang.modules:scala-collection-compat_${scalaVersion}:${libs.versions.scala.collection.compat.get()}")
if (scalaVersion == '2.12') {
// scala-collection-compat_2.12 pulls scala 2.12.17 and we need 2.12.18 for JDK 21 support
implementation 'org.scala-lang:scala-library:2.12.18'
}
implementation libs.roaringbitmap

compileOnly "org.scala-lang:scala-library"
Expand Down

0 comments on commit e89798e

Please sign in to comment.