Browse Source

Added hyphenation JAR task


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Gradle_Build@1390310 13f79535-47bb-0310-9956-ffa450edef68
Temp_Gradle_Build
Mehdi Houshmand 11 years ago
parent
commit
f1d83fb891
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      build.gradle

+ 12
- 0
build.gradle View File

@@ -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])")
}
}
}


Loading…
Cancel
Save