- test 'org.mockito:mockito-core:1.10.19'
# Dependencies with the "build" scope are retrieved
# and injected into the Ant runtime classpath
-- build 'org.jacoco:org.jacoco.ant:0.8.4'
+- build 'org.jacoco:org.jacoco.ant:0.8.4:nodeps'
- build 'org.parboiled:parboiled-java:1.3.1'
<property name="moxie.url" value="http://gitblit.github.io/moxie/maven" />\r
<property name="moxie.jar" value="moxie-toolkit-${moxie.version}.jar" />\r
<property name="moxie.dir" value="${user.home}/.moxie" />\r
- \r
+\r
+ <property name="jacoco.version" value="0.8.4" />\r
+\r
<!-- Download Moxie from it's Maven repository to user.home -->\r
<mkdir dir="${moxie.dir}" />\r
<get src="${moxie.url}/com/gitblit/moxie/moxie-toolkit/${moxie.version}/${moxie.jar}"\r
If it exists, build.properties is automatically loaded.\r
Explicitly set mxroot allowing CI servers to override the default. -->\r
<mx:init verbose="no" mxroot="${moxie.dir}" />\r
- \r
+\r
+ <!-- Register JaCoCo tasks -->\r
+ <taskdef uri="antlib:org.jacoco.ant">\r
+ <classpath location="${moxie.dir}/remote/repo1.maven.org_maven2/org/jacoco/org.jacoco.ant/${jacoco.version}/org.jacoco.ant-${jacoco.version}-nodeps.jar" />\r
+ </taskdef>\r
+\r
<!-- Set Ant project properties -->\r
<property name="release.tag" value="v${project.version}" />\r
<property name="currentRelease.tag" value="v${project.releaseVersion}" />\r