Mercurial > hg > Database > Christie
view build.gradle @ 238:b22aaa94c93c
add renew
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Jan 2020 20:24:17 +0900 |
parents | fbe20887ca9f |
children | 9697be80d1f6 |
line wrap: on
line source
apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'maven' sourceCompatibility = 11; targetCompatibility = 11; [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' group = 'cr.ie.u_ryukyu.ac.jp' version = '1.0' repositories { mavenCentral() } dependencies { compile fileTree(dir: 'lib', include: '*.jar') testCompile('org.junit.jupiter:junit-jupiter-api:5.2.0') //compile group: 'org.msgpack', name: 'msgpack-core', version: '0.8.16' //compile group: 'org.msgpack', name: 'jackson-dataformat-msgpack', version: '0.8.16' compile group: 'org.msgpack', name: 'msgpack', version: '0.6.12' compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1' compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1' } jar { exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' manifest { attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version attributes 'Multi-Release': 'true' // https://stackoverflow.com/questions/53049346/is-log4j2-compatible-with-java-11 } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } archiveName = 'Christie.jar' } task christieStartTopologyManager(type: Jar) { exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' baseName = "ChristieStartTopologyManager" manifest { attributes 'Main-Class': 'christie.topology.manager.StartTopologyManager', 'Implementation-Title': 'StartTopologyManager', 'Implementation-Description': 'Quickstart', 'Implementation-Version': version, 'Assembly-Date': new java.util.Date().toString() } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } with jar } task christieStartTorqueTestTopology(type: Jar) { exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' baseName = "ChristieStartTorqueTestTopology" manifest { attributes 'Main-Class': 'christie.test.topology.localTestTopology.StartTorqueTestTopology', 'Implementation-Title': 'christieStartTorqueTestTopology', 'Implementation-Description': 'Quickstart', 'Implementation-Version': version, 'Assembly-Date': new java.util.Date().toString() } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } with jar } clean.doFirst { delete "out" }