Using Hashicorp Vault in your buildgradle

Has anyone successfully implemented Vault secrets in your build script? We’re on the latest version of gradle on most of our microservices and need to implement secrets.

We have a very nice and lean build script so I don’t want write groovy code all over these scripts and we cannot find a plugin that actually works.