Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

new example plugin

  • Loading branch information...
commit 1893147c6d395b462ee7cb9a43df1a0abe7264af 1 parent 19b978b
Hans Dockter authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 spring-rule.gradle
12 spring-rule.gradle
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.