From: Florian Zschocke Date: Thu, 22 Oct 2020 18:43:45 +0000 (+0200) Subject: build: Activate JaCoCo explicitly for Ant build X-Git-Tag: v1.9.2~41^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6d694fd39bc4c794189df2ca773390ed0f5c8ffa;p=gitblit.git build: Activate JaCoCo explicitly for Ant build When building with Ant, instead of Moxie, JaCoCo is not included in the classpath. So explicitly initialise the full `jacocoant.jar` from the `.moxie` repository. For this we had to switch the dependency to use the `nodeps` jar which includes all dependencies. --- diff --git a/build.moxie b/build.moxie index bb0d426e..ab1d79a9 100644 --- a/build.moxie +++ b/build.moxie @@ -192,5 +192,5 @@ dependencies: - 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' diff --git a/build.xml b/build.xml index 0caa3bd2..afe60496 100644 --- a/build.xml +++ b/build.xml @@ -12,7 +12,9 @@ - + + + - + + + + + +