Copy ICU4J 61.1 from icu-project.org to aosp/icu61.
These files were exported from the ICU Subversion repository by running
the following command:
svn export \
http://source.icu-project.org/repos/icu/tags/release-61-1/icu4j icu4j
Change-Id: I6bbb340ea46c6f811cf29dbd81e6f4a5907eefa1
diff --git a/icu4j/build.xml b/icu4j/build.xml
index 7b07b2d..3c60877 100644
--- a/icu4j/build.xml
+++ b/icu4j/build.xml
@@ -102,10 +102,25 @@
<matches string="${java.version}" pattern="9((-.|\.\d).*)?"/>
</condition>
+ <condition property="is.java10">
+ <matches string="${java.version}" pattern="10((-.|\.\d).*)?"/>
+ </condition>
+
+ <condition property="is.java11">
+ <matches string="${java.version}" pattern="11((-.|\.\d).*)?"/>
+ </condition>
+
+ <condition property="is.java12">
+ <matches string="${java.version}" pattern="12((-.|\.\d).*)?"/>
+ </condition>
+
<condition property="is.java8.plus">
<or>
<isset property="is.java8"/>
<isset property="is.java9"/>
+ <isset property="is.java10"/>
+ <isset property="is.java11"/>
+ <isset property="is.java12"/>
</or>
</condition>
@@ -1735,7 +1750,7 @@
</java>
</target>
- <target name="draftAPIs" depends="info, gatherapi" description="Run API collector tool and generate draft API report">
+ <target name="draftAPIs" depends="info, gatherapi" description="Run API collector tool and generate draft API report in html">
<java classname="com.ibm.icu.dev.tool.docs.CollectAPI"
classpath="${icu4j.build-tools.jar}"
failonerror="true">
@@ -1747,6 +1762,19 @@
</java>
</target>
+ <target name="draftAPIsTSV" depends="info, gatherapi" description="Run API collector tool and generate draft API report in TSV">
+ <java classname="com.ibm.icu.dev.tool.docs.CollectAPI"
+ classpath="${icu4j.build-tools.jar}"
+ failonerror="true">
+ <arg value="-f"/>
+ <arg value="Draft"/>
+ <arg value="-o"/>
+ <arg value="${out.dir}/draftAPIs.tsv"/>
+ <arg value="-t"/>
+ <arg value="${out.dir}/icu4j${api.report.version}.api3.gz" />
+ </java>
+ </target>
+
<target name="swatDeprecated" depends="build-tools" description="Convert @deprecated @draft tags to @provisional">
<antcall target="_runSwatDeprecated">
<param name="swat.deprecated.opt" value="-dep"/>