Skip to content

Instantly share code, notes, and snippets.

Created Jan 21, 2010
Embed
What would you like to do?
def gaeversion = new String(project.version).replace('.','-')
if (gaeversion.endsWith("SNAPSHOT")) {
gaeversion = gaeversion.substring(0, gaeversion.length() - 9)
}
project.properties['gaeversion'] = gaeversion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment