view castor-ant.xml @ 283:fb30d6042d3c

SSED-1600: Renamed unused init60.gradle to init70.gradle, check for Gradle version 7.0, added resources.text.fromInsecureUri for http referenced resources
author Kyle Miller <kyle.miller@mcoecn.org>
date Thu, 16 Jun 2022 17:42:27 +0100
parents 139a3611ae99
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<project name="castor-ant" default="all" basedir="."
     xmlns:ivy="antlib:fr.jayasoft.ivy.ant" >

    <!-- Standard Castor initializer. 
      Should used by all Ivy-based projects using Castor 1.2 or higher.
      Project's ivy.xml must provide a configuration called 'castor-ant'
      to declare the desired version of castor.
    -->
    <target name="castor-init" unless="castor.initialized">
        <property name="castor.initialized" value="true"/>
        <ivy:settings id="castor.ivy.id"/>
        <ivy:resolve id="castor.ivy.id" conf="castor-ant" log="quiet"/>
        <ivy:cachepath
            resolveId="castor.ivy.id"
            pathid="castor.codegen.classpath"
            conf="castor-ant" 
            type="jar"
            log="quiet"/>
        <taskdef name="castor-srcgen"
             classname="org.castor.anttask.CastorCodeGenTask"
             classpathref="castor.codegen.classpath" />
         
    </target>
</project>