summaryrefslogtreecommitdiff
path: root/eclass/junit5.eclass
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2025-07-26 20:46:08 +0200
committerSam James <sam@gentoo.org>2025-08-13 12:00:41 +0100
commit904ccfd6d5510b85ee320b004b1ac36fc5019673 (patch)
tree24a0e678721b95476d71cca9743c088eb2972914 /eclass/junit5.eclass
parent392965e1c961775b4783c8b8364dc72fc395fa02 (diff)
downloadgentoo-904ccfd6d5510b85ee320b004b1ac36fc5019673.tar.gz
gentoo-904ccfd6d5510b85ee320b004b1ac36fc5019673.tar.bz2
gentoo-904ccfd6d5510b85ee320b004b1ac36fc5019673.zip
junit5.eclass: add '--build-only' to java-pkg_getjars
There were QA complaints about junit-5 not found with a slot in DEPEND. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/43318 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/junit5.eclass')
-rwxr-xr-xeclass/junit5.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/junit5.eclass b/eclass/junit5.eclass
index 4fb04894e963..d031e521e1ff 100755
--- a/eclass/junit5.eclass
+++ b/eclass/junit5.eclass
@@ -152,7 +152,7 @@ ejunit5() {
fi
local junit="junit-5"
- local cp=$(java-pkg_getjars --with-dependencies ${junit}${pkgs})
+ local cp=$(java-pkg_getjars --build-only --with-dependencies ${junit}${pkgs})
if [[ ${1} = -cp || ${1} = -classpath ]]; then
cp="${2}:${cp}"
shift 2