-
Notifications
You must be signed in to change notification settings - Fork 493
build: Move dep versions to Versions scala object #1007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
build: Move dep versions to Versions scala object #1007
Conversation
Signed-off-by: Jacek Laskowski <jacek@japila.pl>
c0ef247
to
a3f533d
Compare
@johanl-db Please review and approve 🙏 |
Signed-off-by: Jacek Laskowski <jacek@japila.pl>
Signed-off-by: Jacek Laskowski <jacek@japila.pl>
ec9d0ce
to
312f428
Compare
val antlrVersion = "4.9.3" | ||
val deltaVersion = "3.2.1" | ||
val jacksonVersion = "2.15.0" | ||
val log4jVersion = "2.24.3" | ||
val openApiToolsJacksonBindNullableVersion = "0.2.6" | ||
val orgApacheHttpVersion = "4.5.14" | ||
val scala212 = "2.12.15" | ||
val scala213 = "2.13.14" | ||
val slf4jVersion = "2.0.13" | ||
val spark3Version = "3.5.3" | ||
val spark4Version = "4.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you split the versions into separate groups:
- scala versions
- delta/spark
- other dependencies
object Versions { | ||
val antlrVersion = "4.9.3" | ||
val deltaVersion = "3.2.1" | ||
val jacksonVersion = "2.15.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were two jackson versions used before: 2.15.0 and 2.17.0. This effectively downgrades the version for part of the targets, we'll need to define two separate jackson versions. I'd let unifying versions used for a later change, this may create more issues than it solves
val spark3Version = "3.5.3" | ||
val spark4Version = "4.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spark4Version isn't used, it's probably simpler to have a single sparkVersion
since we will only support a single spark version at least for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right. It's for the upcoming PRs! 😉
Introduce
project/Versions.scala
scala object with the dependencies shared across sbt modulesVersions
build objectbyte-buddy
dependency (as not needed, yet caused some Spark 4 integration issues)