build.gradle 846 Bytes
Newer Older
Alexander Weigl's avatar
Alexander Weigl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
plugins {
    id 'org.unbroken-dome.xjc' version '1.1.3'
}

description = 'lint'

xjcGenerate {
    source = fileTree('src/main/xsd') { include '*.xsd' }
    targetPackage = "edu.kit.iti.formal.psdbg.lint"
    //bindingFiles = fileTree('src/main/jaxb') { include '*.xjb' }
    //catalogs = fileTree('src/main/catalog') { include '*.cat' }
}

compileJava.dependsOn xjcGenerate

dependencies {
    compile group: 'com.github.spullara.mustache.java', name: 'compiler', version: '0.9.5'
    compile group: 'it.unibo.alice.tuprolog', name: 'tuprolog', version: '3.2.1'
    compile project(':lang')
    compile project(':rt')
    xjcClasspath 'com.sun.xml.bind:jaxb-xjc:2.2.7-b41'
    xjcClasspath 'com.sun.xml.bind:jaxb-impl:2.2.7-b41'
    xjcClasspath 'javax.xml.bind:jaxb-api:2.2.7'
    xjcClasspath 'org.jvnet.jaxb2_commons:jaxb2-basics:0.11.1'

}