File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ organizationName := "example"
2020
2121val scala213 = " 2.13.17"
2222val icebergVersion = " 1.4.1"
23- val unityCatalogVersion = " 0.4.1"
23+ val unityCatalogVersion : String = sys.props.getOrElse(" unityCatalogVersion" , {
24+ import scala .sys .process ._
25+ Process (Seq (" bash" , " ../../project/scripts/setup_unitycatalog_main.sh" , " --print-version" )).!! .trim
26+ })
2427val jacksonVersion = " 2.15.4"
2528
2629val defaultDeltaVersion = {
@@ -213,7 +216,7 @@ lazy val root = (project in file("."))
213216 scalaBinaryVersion.value,
214217 getSupportIceberg.value),
215218 libraryDependencies ++= Seq (
216- " io.unitycatalog" %% " unitycatalog-spark" % unityCatalogVersion excludeAll(
219+ " io.unitycatalog" %% s " unitycatalog-spark ${getSparkPackageSuffix.value} " % unityCatalogVersion excludeAll(
217220 ExclusionRule (organization = " com.fasterxml.jackson.core" ),
218221 ExclusionRule (organization = " com.fasterxml.jackson.module" ),
219222 ExclusionRule (organization = " com.fasterxml.jackson.datatype" ),
You can’t perform that action at this time.
0 commit comments