Project name being replaced

Hey, so I'm trying to create a standardised output using the build number on my grade compile. All works fine but the project name is being replaced with the "" and I have no idea how to stop it.

Here's my build code:


Here's how it outputs when running from my command line (with -PbuildNo=7):

And here's how it outputs when built with TeamCity through Gradle:

Any help on how to change this would be great.

Please sign in to leave a comment.