aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-06-03 10:37:40 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-06-03 10:37:40 +0200
commitad01a8f58da50aa36582fbd0b84b54f7db9c44b6 (patch)
tree09b7bab89c9dd0a30380b0f269aae702accfa931
parentonly detect frameworks when the project has tests. (diff)
downloadjava-ebuilder-ad01a8f58da50aa36582fbd0b84b54f7db9c44b6.tar.gz
java-ebuilder-ad01a8f58da50aa36582fbd0b84b54f7db9c44b6.tar.bz2
java-ebuilder-ad01a8f58da50aa36582fbd0b84b54f7db9c44b6.zip
put unzip in BDEPEND
Closes: https://bugs.gentoo.org/793863 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java
index 4a63494..1543b5c 100644
--- a/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java
+++ b/src/main/java/org/gentoo/java/ebuilder/maven/MavenEbuilder.java
@@ -552,11 +552,6 @@ public class MavenEbuilder {
mavenProjects, config.getForceMinJavaVersion()));
writer.println(":*");
- if (config.getDownloadUri() != null && config.getDownloadUri().
- toString().matches("^.*?\\.(jar|zip)$")) {
- writer.println("\tapp-arch/unzip");
- }
-
if (config.hasBinjarUri()) {
if (hasCDepend && compileDependencies.isEmpty()) {
writer.println("\t!binary? ( ${CDEPEND} )");
@@ -633,6 +628,11 @@ public class MavenEbuilder {
}
writer.println('"');
+
+ if (config.getDownloadUri() != null && config.getDownloadUri().
+ toString().matches("^.*?\\.(jar|zip)$")) {
+ writer.println("\nBDEPEND=\"app-arch/unzip\"");
+ }
}
/**