From d4a4d5da604adcf10cf707d2801ca89a782996c4 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 25 Oct 2017 23:07:04 +0200 Subject: gnu: Add java-powermock-core. * gnu/packages/java.scm (java-powermock-core): New variable. --- gnu/packages/java.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 80603dc37f..e78bca326c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6825,3 +6825,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))))) -- cgit 1.4.1