Attempt number two at token replace in gradle.