Skip to content

Instantly share code, notes, and snippets.

@aphexmunky
aphexmunky / build.gradle
Created November 14, 2012 09:07
JAXB task in gradle
def generatedResources = "src/main/generated-sources"
task jaxb(){
description 'Converts xsds to classes'
def jaxbTargetDir = file( generatedResources )
jaxbTargetDir.deleteDir()
doLast {
jaxbTargetDir.mkdirs()