From 6d694fd39bc4c794189df2ca773390ed0f5c8ffa Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Thu, 22 Oct 2020 20:43:45 +0200 Subject: [PATCH] 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. --- build.moxie | 2 +- build.xml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) 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 @@ - + + + - + + + + + + -- 2.39.5