>From 9abb44ce44f78c73fb396f19a00c7184f977781c Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 25 Oct 2017 23:07:04 +0200 Subject: [PATCH 17/22] gnu: Add java-powermock-core. * gnu/packages/java.scm (java-powermock-core): New variable. --- gnu/packages/java.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index a77e76ee3..5161ab6f0 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6823,3 +6823,21 @@ constructors, final classes and methods, private methods, removal of static initializers and more. By using a custom classloader no changes need to be done to the IDE or continuous integration servers which simplifies adoption.") (license license:asl2.0))) + +(define-public java-powermock-core + (package + (inherit java-powermock-reflect) + (name "java-powermock-core") + (arguments + `(#:jar-name "java-powermock-core.jar" + #:source-dir "powermock-core/src/main/java" + #:test-dir "powermock-core/src/test" + #:tests? #f; requires powermock-api + #:jdk ,icedtea-8)) + (inputs + `(("reflect" ,java-powermock-reflect) + ("javassist" ,java-jboss-javassist))) + (native-inputs + `(("junit" ,java-junit) + ("assertj" ,java-assertj) + ("mockito" ,java-mockito-1))))) -- 2.14.3