Browse files

new example plugin

  • Loading branch information...
1 parent 19b978b commit 1893147c6d395b462ee7cb9a43df1a0abe7264af Hans Dockter committed May 7, 2010
Showing with 12 additions and 0 deletions.
  1. +12 −0 spring-rule.gradle
View
12 spring-rule.gradle
@@ -0,0 +1,12 @@
+def allSpringJars = tasks.withType(Jar).matching { task -> task.archiveName.contains('spring') }
+
+allSpringJars.allObjects { task ->
+ task.metaInf {
+ from 'src/icons/rod.jpg'
+ }
+ task.doLast {
+ ant.checksum(file: task.archivePath, todir: mkdir("$buildDir/spring-checksums"))
+ }
+}
+
+task springJars(dependsOn: allSpringJars)

0 comments on commit 1893147

Please sign in to comment.