witty-family-13337
03/10/2022, 10:28 AMjvm_artifact
definition like this would fail to be recognised as a dependency for other targets:
jvm_artifact(
name="enumeratum",
group="com.beachape",
artifact="enumeratum-circe_2.13",
version="1.7+",
packages=[
"enumeratum.*",
"enumeratum.values.*",
],
)
however, if we change the packages
field to be like the following:
packages=[
"enumeratum.**",
"enumeratum.values.**",
]
then the dependency gets resolved… what is the difference between the single *
and the **
in this context? Is it advised that we always use the **
for these cases?witty-crayon-22786
03/10/2022, 6:35 PM**
is currently supported. see https://www.pantsbuild.org/v2.10/docs/reference-jvm_artifact#codepackagescode