Closed spolnik closed 8 years ago
jar { manifest { attributes( 'Implementation-Title': "${project.name}", 'Implementation-Version': version.toString(), 'Created-By': System.getProperty('java.version') + ' (' + System.getProperty('java.vendor') + ')', 'Built-With': "gradle-${project.getGradle().getGradleVersion()}, groovy-${GroovySystem.getVersion()}", 'Build-Time': "${new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")}", 'Built-By': System.getProperty('user.name'), 'Built-On': "${InetAddress.localHost.hostName}/${InetAddress.localHost.hostAddress}" ) } }
jar { manifest { attributes( 'Implementation-Title': "${project.name}", 'Implementation-Version': version.toString(), 'Created-By': System.getProperty('java.version') + ' (' + System.getProperty('java.vendor') + ')', 'Built-With': "gradle-${project.getGradle().getGradleVersion()}, groovy-${GroovySystem.getVersion()}", 'Build-Time': "${new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")}", 'Built-By': System.getProperty('user.name'), 'Built-On': "${InetAddress.localHost.hostName}/${InetAddress.localHost.hostAddress}" ) } }