Third attempt at token replace in gradle.