add compile dependency to forbidden-apis-check so that forbidden-apis-check will recompile sources that have been modified

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-04-11 01:33:21 +00:00
parent d6252e00b1
commit 4e610a4cf2

View File

@ -1811,7 +1811,7 @@ under the License.
<!-- spot any cases where we've accidently used methods we shouldn't --> <!-- spot any cases where we've accidently used methods we shouldn't -->
<!-- See https://github.com/policeman-tools/forbidden-apis for details --> <!-- See https://github.com/policeman-tools/forbidden-apis for details -->
<!-- of the checks that this can do --> <!-- of the checks that this can do -->
<target name="forbidden-apis-check" depends="init"> <target name="forbidden-apis-check" depends="init, compile">
<taskdef name="forbiddenapis" <taskdef name="forbiddenapis"
classname="de.thetaphi.forbiddenapis.ant.AntTask" classname="de.thetaphi.forbiddenapis.ant.AntTask"
classpath="${forbidden.jar}"/> classpath="${forbidden.jar}"/>