https://pantsbuild.org/ logo
#general
Title
# general
b

bumpy-soccer-78991

07/07/2022, 10:18 PM
My 2¢ on the scala setup, I know it’s fairly new but very explicitly listing out an example jvm_artifact and
[scala].version_for_resolve
to get some example working (with default and non-default version) would have been helpful. I was able to figure it out with some trial/error though. Also, it’s quite possible I missed it, but wasn’t able to find a page discussing
resolve
in more detail - it seems like it’s an important pants concept.
w

witty-crayon-22786

07/07/2022, 10:34 PM
mm, yea: thanks for the feedback.
are you working from the
example-jvm
repo, or from scratch?
agreed in particular about `resolves`… they are actually discussed in more detail in a blogpost that we have about Python: https://blog.pantsbuild.org/multiple-lockfiles-python/ … the practical use is effectively identical for the
jvm
b

bumpy-soccer-78991

07/07/2022, 10:37 PM
Ah I missed there is an example repo, that is helpful
w

witty-crayon-22786

07/07/2022, 10:40 PM
there is also a PR for the example repo showing how to use multiple scala versions: https://github.com/pantsbuild/example-jvm/pull/12, although i’d avoid diving in on that until things are working with one version
1
b

busy-vase-39202

07/08/2022, 12:26 AM
@bumpy-soccer-78991 what series of pages are you learning from? We'll look into making sure appropriate references are added to those.
b

bumpy-soccer-78991

07/08/2022, 1:22 AM
2 Views