diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-09-26 07:59:01 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-09-26 07:59:01 +0000 |
commit | f1d83fb8917084ed60cdc53085345dcfcabb5675 (patch) | |
tree | 19c39453519ab62994b7c52e1c06f713397b26b1 | |
parent | a2c6b8feeedced2f43310fb9f843e5184be90b35 (diff) | |
download | xmlgraphics-fop-Temp_Gradle_Build.tar.gz xmlgraphics-fop-Temp_Gradle_Build.zip |
Added hyphenation JAR taskTemp_Gradle_Build
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Gradle_Build@1390310 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build.gradle | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index aa7943c96..0a0401ade 100644 --- a/build.gradle +++ b/build.gradle @@ -268,3 +268,15 @@ task uptodateJarHyphenation(dependsOn: compileHyphenation) << { } } +task jarHyphenation(dependsOn: uptodateJarHyphenation) << { + ant.jar(jarfile: "$buildDir/fop-hyph.jar", basedir: buildClassesDir, includes: "hyph/*.hyph") { + delegate.manifest { + attribute(name: 'Implementation-Title', value: project.ext.name) + attribute(name: 'Implementation-Version', value: project.ext.version) + attribute(name: 'Implementation-Vendor', value: "The Apache Software Foundation (http://xmlgraphics.apache.org/fop/)") + // TODO: the Java version is a global property in the Ant version + attribute(name: 'Build-Id', value: "${new Date()} (${getProperty('user.name')} [${getProperty('os.name')} ${getProperty('os.version')} ${getProperty('os.arch')}, Java ${getProperty('java.runtime.version')}, Target Java 1.5])") + } + } +} + |