Skip to content
Permalink
Browse files

Moved DiTAA step to a separate extension repository

  • Loading branch information
ndw committed Apr 6, 2015
1 parent 21938e7 commit 79ab2255e8753bc2de63d5a9a097509b25b526b2
Showing with 1 addition and 157 deletions.
  1. +1 −14 build.gradle
  2. BIN lib/ditaa0_9.jar
  3. +0 −143 src/main/java/com/xmlcalabash/extensions/DiTAA.java
@@ -117,7 +117,6 @@ task copyLib(type: Copy) {
FileCollection runtime = configurations.runtime
FileCollection localLib = fileTree(dir: 'lib').include("*.jar")
FileCollection lib = runtime - localLib
lib = lib + files(["lib/ditaa0_9.jar"])
String path = ""
lib.each {
File file -> path += " lib/" + file.name
@@ -174,7 +173,7 @@ gradle.taskGraph.whenReady { taskGraph ->

// There are several steps that rely on third party libraries that
// are either not free (RenderX, AntennaHouse, etc.) or are not
// available through a maven repository (AFAICT, such as DiTAA).
// available through a maven repository.
// These tasks test for the presence of the third party libraries
// and exclude extensions that require them if they are not
// available.
@@ -190,18 +189,6 @@ task checkXEP {
}
compileJava.dependsOn checkXEP

task checkDiTAA {
doFirst {
try {
Class.forName("org.stathissideris.ascii2image.graphics.Diagram")
} catch (Exception e) {
println "DiTAA classes unavailable, skipping DiTAA"
sourceSets.main.java.exclude 'com/xmlcalabash/extensions/DiTAA.java'
}
}
}
compileJava.dependsOn checkDiTAA

task checkAntennaHouse {
doFirst {
try {
BIN -182 KB lib/ditaa0_9.jar
Binary file not shown.

This file was deleted.

0 comments on commit 79ab225

Please sign in to comment.
You can’t perform that action at this time.