comparison src/main/groovy/org/ssdt_ohio/gradle/plugins/VersionClassPlugin.groovy @ 6:c32864e7d65b

remove jar manifest changes
author smith@nwoca.org
date Sat, 19 May 2012 14:12:59 +0100
parents 1756755e4e71
children 9f9063d3c17c
comparison
equal deleted inserted replaced
5:fb82b0a8f05a 6:c32864e7d65b
77 makeVersionClassTask.getInputs().files(project.getBuildFile()) 77 makeVersionClassTask.getInputs().files(project.getBuildFile())
78 } 78 }
79 79
80 project.getTasks().getByName('compileGroovy').dependsOn('makeVersionClass') 80 project.getTasks().getByName('compileGroovy').dependsOn('makeVersionClass')
81 81
82 project.getTasks().getByName('jar').manifest.attributes( 82 // project.getTasks().getByName('jar').manifest.attributes(
83 [ 83 // [
84 "Specification-Title": project.name, 84 // "Specification-Title": project.name,
85 "Specification-Version": project.version, 85 // "Specification-Version": project.version,
86 "Specification-Vendor": project.group, 86 // "Specification-Vendor": project.group,
87 "Implementation-Title": project.name, 87 // "Implementation-Title": project.name,
88 "Implementation-Version": project.version, 88 // "Implementation-Version": project.version,
89 "Implementation-Vendor": project.group, 89 // "Implementation-Vendor": project.group,
90 "Built-By": System.properties['user.name'], 90 // "Built-By": System.properties['user.name'],
91 "Build-Jdk": System.properties['java.version'], 91 // "Build-Jdk": System.properties['java.version'],
92 ] 92 // ]
93 ) 93 // )
94
95 94
96 } 95 }
97 96
98 97
99 98