You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project in question is a gargantuan monorepo. Therefore it stands to reason that I would like to change the Scala version in one place and see the change affect literally everything, to save myself work.
I have made the following changes:
Add a file in my root directory called "scala_version.bzl" that contains SCALA_VERSION = "2.12.10"
I've solved the issue with other means - https://github.com/mikefarah/yq is a pretty nifty tool that we can use to edit all kinds of markup language files in place, which are then ready for consumption by bazel-deps :)
Hi,
I have a file that starts like so:
The project in question is a gargantuan monorepo. Therefore it stands to reason that I would like to change the Scala version in one place and see the change affect literally everything, to save myself work.
I have made the following changes:
SCALA_VERSION = "2.12.10"
This is where the cookie crumbles - I have no idea how to template this file. I tried:
"scala:" + SCALA_VERSION
"scala:${SCALA_VERSION}"
"scala:{SCALA_VERSION}"
"{{SCALA_VERSION}}"
because that's a standard in YAML formatUnfortunately, none of those worked. Can someone help please?
The text was updated successfully, but these errors were encountered: