From 6c21d46c70b2a0912d1adab82e0ef74bace5605f Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 25 Oct 2017 23:37:47 +0200 Subject: [PATCH] gnu: Add java-powermock-modules-junit4-common. * gnu/packages/java.scm (java-powermock-modules-junit4-common): New variable. --- gnu/packages/java.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 0470f42a00..77e34a2f90 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6857,3 +6857,20 @@ done to the IDE or continuous integration servers which simplifies adoption.") (inputs `(("core" ,java-powermock-core) ("reflect" ,java-powermock-reflect))))) + +(define-public java-powermock-modules-junit4-common + (package + (inherit java-powermock-reflect) + (name "java-powermock-modules-junit4-common") + (build-system ant-build-system) + (arguments + `(#:jar-name "java-powermock-modules-junit4-common.jar" + #:jdk ,icedtea-8 + #:source-dir "powermock-modules/powermock-module-junit4-common/src/main/java" + #:test-dir "powermock-modules/powermock-module-junit4-common/src/test")) + (inputs + `(("core" ,java-powermock-core) + ("easymock" ,java-easymock) + ("reflect" ,java-powermock-reflect) + ("hamcrest" ,java-hamcrest-core) + ("cglib" ,java-cglib)))))