| Author | Dave Jarvis <email> |
|---|---|
| Date | 2015-01-17 20:50:12 GMT-0800 |
| Commit | 4a0ca2905af62a86ef867b74ff52c50daf31f1da |
| Parent | a280308 |
| } | ||
| -task copyLibraries(type: Copy) { | ||
| +task copyLibraries( type: Copy ) { | ||
| from configurations.runtime | ||
| into "$buildDir/libs" | ||
| +} | ||
| + | ||
| +task buildMenu( type: JavaExec ) { | ||
| + main = "net.sf.saxon.Transform" | ||
| + classpath = configurations.runtime | ||
| + args "-s:source/xsl/menu/menu.xml", "-xsl:source/xsl/menu/menu.xsl" | ||
| } | ||
| build.dependsOn( copyLibraries ) | ||
| +buildMenu.dependsOn( build ) | ||
| dependencies { |
| -#!/bin/bash | ||
| -# | ||
| -# This script generates a set of XML files containing menus: one per page. | ||
| -# | ||
| -java -cp "../../../build/libs/*" net.sf.saxon.Transform \ | ||
| - -s:menu.xml -xsl:menu.xsl | ||
| - | ||
| Delta | 8 lines added, 8 lines removed |
|---|