diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-08-30 18:23:57 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-31 09:52:24 +0200 |
commit | 04031a6cef44eb83b85ff5bf7bac1e537eef861d (patch) | |
tree | 2246098a462deb9d4cc6d6f78548e77f41a42a8a /dev-java | |
parent | dev-java/opentest4j: add 1.3.0 (diff) | |
download | gentoo-04031a6cef44eb83b85ff5bf7bac1e537eef861d.tar.gz gentoo-04031a6cef44eb83b85ff5bf7bac1e537eef861d.tar.bz2 gentoo-04031a6cef44eb83b85ff5bf7bac1e537eef861d.zip |
dev-java/junit: test dependencies use java-pkg_getjars with '--build-only'
Closes: https://bugs.gentoo.org/938743
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37748
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/junit/junit-4.13.2_p20240222.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-java/junit/junit-4.13.2_p20240222.ebuild b/dev-java/junit/junit-4.13.2_p20240222.ebuild index 6a2ce43fc405..50aa3c3c6763 100644 --- a/dev-java/junit/junit-4.13.2_p20240222.ebuild +++ b/dev-java/junit/junit-4.13.2_p20240222.ebuild @@ -44,7 +44,8 @@ src_prepare() { src_test() { cd "${JAVA_TEST_SRC_DIR}" || die - local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars ${JAVA_TEST_GENTOO_CLASSPATH})" + local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars \ + --build-only ${JAVA_TEST_GENTOO_CLASSPATH})" ejavac -cp "${CP}" -d . $(find * -name "*.java") # pom.xml lines 264-268 |