Open Roopesh-Navath opened 1 year ago
Apologies for the late reply. I was on summer vacation.
This plugin will only be faster than invoking DITA-OT via the command line after the initial build.
I'm guessing the figures in the final column of that table are for the initial build?
That said, I have not used this plugin or kept up with DITA-OT or Gradle development in many years, so it's entirely possible something's changed.
This is not a bug/Issue, I do not see any contact details to send the feedback.
I have installed DITA OT Gradle and ran the DITA OT 3.5.4 plugins xhtml and pdf2 against a larger document. But I am not able to get the expected speed comparing to the local DITA OT processing speed.
Due to the parsing error I have removed some lines from the build.gradle file.
My build.gradle file plugins { id 'groovy' id 'codenarc' id 'java-gradle-plugin' id 'de.undercouch.download' version '4.1.1' id 'se.patrikerdes.use-latest-versions' version '0.2.15' id 'com.github.ben-manes.versions' version '0.36.0' id 'com.github.eerohele.dita-ot-gradle' version '0.7.1' }
sourceCompatibility = 1.8
defaultTasks 'check'
dependencies { implementation localGroovy() implementation 'commons-io:commons-io:2.8.0'
}
codenarc { toolVersion = '1.0' configFile = file('config/codenarc/codenarc.groovy') } dita { ditaOt '../dita-ot-3.5.4' input '../input/jobtemp/doceng_temp_48758_ctp-bundles.ditamap' transtype 'xhtml'
}
group = 'com.github.eerohele' version = '0.7.1'
gradlePlugin { plugins { ditaOt { id = 'com.github.eerohele.dita-ot-gradle' displayName = 'DITA-OT Gradle Plugin' implementationClass = 'com.github.eerohele.DitaOtPlugin' description = 'A Gradle plugin for running DITA Open Toolkit' } } }