我想在单个gradle文件中创建当前和其他项目的javadoc

时间:2017-03-06 05:50:26

标签: gradle javadoc

我需要gradle任务来创建类似于这个ant脚本的javadoc:

<target name="javadoc" depends="deployable" description="packaging java doc">

    <javadoc destdir="${javaDocDir}" author="true"
        stylesheetfile="./java_doc.css"
        use="true" source="1.8" version="true"private="true">
        <packageset dir="${lk-kor-source.dir}" defaultexcludes="yes">
            <include name="com/capsilon/katalyst/sso/datatypes" />
            <include name="com/capsilon/katalyst/business/objects" />
            <include name="com/capsilon/katalyst/business/objects/condition"/>
            <include name="com/capsilon/katalyst/business/datatypes" />
            <include name="com/capsilon/katalyst/business/datatypes/conditions" />
            <include name="com/capsilon/katalyst/business/objects/collection" />
            <include name="com/capsilon/katalyst/datatype" />
            <include name="com/capsilon/katalyst/business/datatypes/delivery" />
            <include name="com/capsilon/katalyst/business/objects/esign" />
            <include name="com/capsilon/katalyst/business/objects/fee" />
            <include name="com/capsilon/katalyst/annotations" />
        </packageset>
        <packageset dir="${source.dir}" defaultexcludes="yes">
            <include name="com/capsilon/katalyst/business/objects" />
            <include name="com/capsilon/katalyst/business/datatypes" />
            <include name="com/capsilon/katalyst/business/datatypes/request" />
            <include name="com/capsilon/katalyst/services/exception" />
            <include name="com/capsilon/katalyst/services" />
        </packageset>
        <bottom>
            <![CDATA[<i>Copyright &#169; 2016 Capsilon Corp. All Rights Reserved.</i>]]></bottom>
    </javadoc>

还请指定如何声明类路径

0 个答案:

没有答案