Created
April 13, 2015 11:59
-
-
Save xquery/a1fdcbda60dafade04ba to your computer and use it in GitHub Desktop.
Run xmlcalabash with gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradle -b test.gradle -Dexec.args="-isource=test1.xpl -oresult=- test1.xpl" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
repositories { | |
mavenCentral() | |
jcenter() | |
maven { url "http://maven.restlet.org" } | |
maven { url "http://developer.marklogic.com/maven2" } | |
} | |
dependencies { | |
compile 'com.xmlcalabash:xmlcalabash:1.1+' | |
} | |
task(runSimple, dependsOn: 'classes', type: JavaExec) { | |
classpath = files('lib/example-library-ext.jar/example-library-ext.jar') | |
classpath += sourceSets.main.runtimeClasspath | |
main = 'com.xmlcalabash.drivers.Main' | |
args System.getProperty("exec.args").split() | |
} | |
defaultTasks 'runSimple' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment