apply plugin: 'groovy'

repositories {
    mavenRepo name:'localRepo', urls: "file://" + System.properties['user.home'] + "/.m2/repository"
    mavenCentral()
    mavenRepo name:'Shibboleth Repo', urls:'http://shibboleth.internet2.edu/downloads/maven2'
}

dependencies {
    def fopDeps = [ 'org.apache.xmlgraphics:fop:0.95-1@jar',
                    'org.apache.xmlgraphics:xmlgraphics-commons:1.3',
                    'org.apache.xmlgraphics:batik-bridge:1.7@jar',
                    'org.apache.xmlgraphics:batik-util:1.7@jar',
                    'org.apache.xmlgraphics:batik-css:1.7@jar',
                    'org.apache.xmlgraphics:batik-dom:1.7',
                    'org.apache.xmlgraphics:batik-svg-dom:1.7@jar',
                    'org.apache.avalon.framework:avalon-framework-api:4.3.1']
    groovy localGroovy()
    compile gradleApi(),
            'org.apache.xerces:resolver:2.9.1',
            'saxon:saxon:6.5.3',
            'org.apache.xerces:xercesImpl:2.9.1',
            fopDeps

    runtime 'net.sf.xslthl:xslthl:2.0.1',
            'net.sf.docbook:docbook-xsl:1.75.2:ns-resources@zip'
}

task ide(type: Copy)  {
    from configurations.runtime
    into 'ide'
}
