If there are any other noob like me that donβt know how to accomplish ant goals and access their properties, here is an example:
jar.doFirst { ant.buildnumber() manifest { attributes{ 'Implementation-Version': ant.antProject.properties['build.number'] ) } }
source share