Similar questions | Create a jar of test binaries - gradle
-
Java create. Jar file
I'm learning Java and I have a problem. I created 6 different classes, each has it's own main() method. I want to create executable .jar for each class, that is 6 executable .j...
-
testing - Gradle test dependency
I have two projects, project A and Project B. Both are written in groovy and use gradle as their build system. Project A requires project B. This holds for both the compile ...
-
Gradle Android test
I'm new to gradle and Android Studio, and I'm trying to figure out how to run tests. I followed instructions in http://tools.android.com/tech-docs/new-build-system/user-guide#T...
-
Publish jar and source jar from gradle to artifact
Here is my build.gradle: buildscript { repositories { maven { url 'http://localhost:8081/artifactory/plugins-release' credentials { ...
-
java - Running jar with parameters in gradle
I want to run a jar file with parameters located at C:/Users/nwuser/FitNesse/fitnesse-standalone.jar in my gradle script. I know how to do it without parameters: apply plugin:...
-
executable jar - Create a deployable jruby jar file?
I need to compile my JRuby application into a standalone JAR file. How can I do this?
-
java - Meta-inf / service in jar with gradle
I wanted to build a plugin module that can be loaded with a ServiceLoader. This requires adding a file to the META-INF/services directory, that is named after the service inter...
-
spring - Java: gradle build failed bootrepackage (on create jar)
Doing a web project means: Java (jdk 1.7.0.51) + Spring framework (+velocity) + Hibernate + Gradle + Apache Tomcat. Suddenly, there was a problem: you can not make a build. To ...
-
Gradle: clone the original jar task and create a new task for the jar containing the dependency
I would like to create a new task in my project that creates a jar archive with the class files of my project and the class files of the dependencies (also called 'shaded jar' ...
-
Gradle - Add a single file to the jar
I have the file "license.txt" in the root directory of my project. In the jar-task, I want to add this file to the (root folder of the) JAR file. I tried jar { from '.' inc...