Hi, I just upgrade my pants to 2.10, and want to u...
# general
f
Hi, I just upgrade my pants to 2.10, and want to update my jvm BUILD files. My old BUILD file is like this:
Copy code
jar_library(
    name='hadoop',
    jars=[
        jar('org.apache.hadoop', 'hadoop-client', 2.6.0),
    ],
    scope='compile',
)
How do I update it? What does
jar_library
change into now?
1
w
f
Thx! I just fixed it~
c
Usually,
./pants update-build-files
will fix renamed targets and fields for you automatically (I’m not familiar with if this is the case here, though)
👍 1
w
yea… not in this case, unfortunately. that syntax is from a much, much older version
😅 1
👍 2