diff build.gradle @ 612:86b39f5bf1d7 dispose

topologymanager jar execution
author suruga
date Wed, 19 Apr 2017 21:36:06 +0900
parents e8280077c2f9
children 82736f6fae50 9ac910236f59
line wrap: on
line diff
--- a/build.gradle	Wed Apr 19 19:18:23 2017 +0900
+++ b/build.gradle	Wed Apr 19 21:36:06 2017 +0900
@@ -33,3 +33,17 @@
         }
     }
 }
+task AliceTopologyManager(type: Jar) {
+    exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
+    baseName = "aliceTopologyManager"
+    manifest {
+        attributes 'Main-Class': 'alice.topology.manager.TopologyManager',
+                'Implementation-Title': 'TopologyManager',
+                'Implementation-Description': 'Quickstart',
+                'Implementation-Version': version,
+                'Assembly-Date': new java.util.Date().toString()
+
+    }
+    from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
+    with jar
+}
\ No newline at end of file