Generate links to Android documentation
This commit is contained in:
parent
d7f3a9cb17
commit
7502f5aecd
11
build.xml
11
build.xml
@ -83,8 +83,19 @@
|
|||||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||||
|
|
||||||
<target name="doc" depends="-build-setup, -code-gen">
|
<target name="doc" depends="-build-setup, -code-gen">
|
||||||
|
<condition property="missing-docs">
|
||||||
|
<not>
|
||||||
|
<available file="${sdk.dir}/docs/reference" type="dir" />
|
||||||
|
</not>
|
||||||
|
</condition>
|
||||||
|
<if condition="${missing-docs}">
|
||||||
|
<then>
|
||||||
|
<echo>Install "Documentation for Android SDK" from the Android SDK Manager to generate links to SDK documentation.</echo>
|
||||||
|
</then>
|
||||||
|
</if>
|
||||||
<javadoc
|
<javadoc
|
||||||
destdir="doc"
|
destdir="doc"
|
||||||
|
link="${sdk.dir}/docs/reference"
|
||||||
sourcepath="${source.absolute.dir}:${gen.absolute.dir}"
|
sourcepath="${source.absolute.dir}:${gen.absolute.dir}"
|
||||||
bootclasspathref="android.target.classpath"
|
bootclasspathref="android.target.classpath"
|
||||||
classpathref="jar.libs.ref"
|
classpathref="jar.libs.ref"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user