Mercurial > hg > Database > Alice
view 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 source
apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'maven' sourceCompatibility = 1.8 targetCompatibility = 1.8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' group = 'cr.ie.u_ryukyu.ac.jp' version = '1.1' dependencies { compile fileTree(dir: 'lib', include: '*.jar') } jar { exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' manifest { attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } archiveName = 'Alice.jar' } ext { mavenRepository = System.getenv()['HOME']+'/Documents/workspace/maven' } uploadArchives { repositories { mavenDeployer { repository(url: uri(mavenRepository)) } } } 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 }