aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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\"");
+ }
}
/**