Quantcast
Channel: Gradle Forums - Latest posts
Browsing all 20366 articles
Browse latest View live

The mrJar Plugin v0.0.13 has been released — Modular MRJAR Files Made Easy

Hi Lingocoder, I did not find a solution in JPMS. So I abandoned the idea of ​​developing an application in modules. I do not develop a utility or a library so putting the programming module aside is...

View Article


Gradle Test Task is deleting old JUnit files

What criteria does Gradle use to identify “old” JUnit result files? We have some tests that manually write out XML test result files in the JUnit format into the results dir for certain types of...

View Article


Help with collapsing sourceSet-s in a composite build

Hi, I’m building a multi-repo multi-project Java app and I ran into an issue with properly collapsing source sets. I know one possible answer is- “don’t collapse, keep them as separate subprojects”....

View Article

Image may be NSFW.
Clik here to view.

Dependency Resolution Fails in Gradle 6

jendrik: Recognizing API and implementation dependencies Jendrik, Thank you for the reply. After a lot of trial and error (since I had so many sub-projects), I was able to sort through the dependency...

View Article

Gradle Jar It hasn't found the main class

Jendrik thanks for you answer. Before, I want to be completely clear in my question, for that I say you the next: My main issue is that I haven’t could to run my application from command line after of...

View Article


Help with collapsing sourceSet-s in a composite build

I tried to skin the cat another way. Instead of adding the base and generated source set outputs to the Jar directly, I added them as additional main source set outputs, and declared them also as...

View Article

Image may be NSFW.
Clik here to view.

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

The mrJar Plugin v0.0.13 has been released — Modular MRJAR Files Made Easy Hi Lingocoder, I did not find a solution in JPMS. So I abandoned the idea of ​​developing an application in modules. I do not...

View Article

Could not find implementation class for plugin error when using plugin...

Gradle 4.10.2 I’ve read this post but I may have a different issue, but I’m not sure. This is my first time writing a plugin so I’m just following Writing Gradle Plugins tutorial, and Gradle Plugin...

View Article


The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

Hi Lingocoder, You have been a great help to me, I am grateful to you and it is with pleasure that I can help you in return. In terms of providing you with a project with the configuration of this...

View Article


The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

Hi again Lingocoder, I may have forgotten to specify what corresponds to “JavaFx violate which lacks openness in places”. Many JavaFx methods are declared as “final” which already limits the...

View Article

Copy from transitive native dependencies

We are progressing adoption of Gradle in our native projects. Gradle native support in version 6.0 seems very, very promising, thank you for your hard work! Currently, we are investigating how to...

View Article

Correct the classpath of your application so that it contains a single,...

Can somebody help me please to resolve this issue.

View Article

How to pass arguments to the linker when building a cpp-application

How does using binaries.configureEach compare with using tasks.withType(LinkExecutable).configureEach etc.? Is binaries.configureEach the recommended approach?

View Article


Help with collapsing sourceSet-s in a composite build

I’ve isolated the problem- A:A1 is a java-library which, as per https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_classes_usage, causes consumers such as A:A2 to use...

View Article

How to collapse source sets inside a java library

I’m looking for a way to collapse source sets inside a java-library subproject, and have the distribution zip contain jars only, not individual classes. I am attaching a gist illustrating my problem....

View Article


Image may be NSFW.
Clik here to view.

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

Graou74: „…I have to go through the static method (public static void setPrimary (Stage Stage, boolean primary)) of the com.sun.javafx.stage.StageHelper class. And this is where access rights issues...

View Article

Image may be NSFW.
Clik here to view.

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

Graou74: „…So, since I want total control of rendering and behavior of my graphics components, I have to “violate” the protections set up by JavaFX using java.lang.reflect. But this is only possible...

View Article


Publishing files arbitrary destination

All documentation related to publishing of artifacts seem related to Ivy and Maven repositories. What if I simply want arbitrary files (custom task outputs) copied to an FTP or S3 bucket with some...

View Article

Gradle build in Eclipse failed error : could not fetch model of type...

I’ve solved this problem. I deleted the codes in the “build.gradle”, the codes are: task wrapper(type: Wrapper) { gradleVersion = ‘5.6’ }

View Article

The mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy

Hi Lingocoder, It is a great satisfaction for me to know that I was able to contribute modestly to your beautiful project. I understand your explanation, but I can not open the ZIP file that goes back...

View Article
Browsing all 20366 articles
Browse latest View live