This message was deleted.
# community-support
s
This message was deleted.
j
I think the constraint is in the right place (it shows in the scan - 3 times actually...). But in order to downgrade, you need to make it strict:
Copy code
classpath("org.yaml:snakeyaml:1.33!!")

// or (long notation)

classpath("org.yaml:snakeyaml") {
  version { strictly("1.33") }
}
r
thanks jendrik. It would be great to declare that somehow on the outgoing project wouldn't it?
j
Yes. I missed that in the scan. You can declare the strict constraint in ':build-tools-internal' and that should also work.
Copy code
dependency.constraints {
  implementation("org.yaml:snakeyaml:1.33!!")
}
If the constraint is further up anywhere the tree, it wins.