Is it possible to get the Gradle Ent. scan link before the build ends?

We need this link during the build to embed in some resources we create for future investigation