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

Fail build on pmd violation threshold breach

I am currently using the below configuration to ignore pmd violations. pmdMain { ignoreFailures = true } Is there a way to define maxAllowedViolations . So that build fails only if the violation...

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 do not know if it’s enough as I never registered for Gradle Scan…“ It is not necessary to register to use build scans. The only thing you needed to do, is add that license agreement...

View Article


Image may be NSFW.
Clik here to view.

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

Graou74: „…Looks like whatever I do now in the test sequences…the behavior remains the same…“ Incidentally @Graou74, before you sent your build scan file, I had done some more analysis. The TL;DR of...

View Article

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

Wow, this time it worked the first time (and the next ones too). yet at the previous test I had also removed com.lingocoder from the Gradle cache. console.txt.zip (123.1 KB)

View Article

Checkstyle plugin dependencies versions

Hi, our internal Nexus scanned the project and found a security issue regarding commons-bean-utils version 1.9.3. I ran Gradle dependencies and found out that this dependency is a transitive...

View Article


Image may be NSFW.
Clik here to view.

Java-platform question

Hi, I can’t call myself an expert but here’s one idea The ‘subprojects’ block is a way of making common specifications across all sub-projects, but if one of those contradicts another specification...

View Article

Dependency resolution on pom file with jdk version activated profile

Hello, I came across an issue with dependency resolution. When dependencies are declared in pom inside profile block which is activated based on jdk version. To be concrete it is this pom:...

View Article

Image may be NSFW.
Clik here to view.

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

Graou74: „…Wow, this time it worked the first time (and the next ones too)…“ AWESOME! Thank you from the bottom of my heart, @Graou74, for making time to run the test! Graou74: „…at the previous test...

View Article


Image may be NSFW.
Clik here to view.

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

lingocoder: Earlier, I said: „ That analysis didn’t result in any solutions “. But that’s not the full story. I did follow that hunch I mentioned before, actually. So I did add a single conditional to...

View Article


How to know the gradle process has ended?

I want to get the gradle running process where I can come to know that gradle task has ended. I am executing gradle tasks parallel in my machines like following. in Windows, start gradlew runSuite1 -i...

View Article

Image may be NSFW.
Clik here to view.

How do I specify the resources folder in a Jar?

paolopavan: jar { into ‘resources’, { from ‘resources’ } } Maybe you should fix this jar task to be jar { from 'resources', { into 'resources' } }```

View Article

How to use the same locked dependencies among all sub-projects

Hi Marco, How would this sync dependencies such that sub-projects would use the correct dependencies? I do not see any way this could be used to achieve the desired goal. Let me know if I am missing...

View Article

Image may be NSFW.
Clik here to view.

Does the lifecycle of a build differ when called by buildship to import a...

donat: Why do you need to use gradle.projectsEvaluated ? a plugin is responding to some configuration object exposed to build.gradle and hence has to wait and see what value is supplied by the...

View Article


Does the lifecycle of a build differ when called by buildship to import a...

I have seen a similar problem in another piece of code, in simplified form I have some code which did gradle.projectsEvaluated { if (project.extensions.myextension.somevalue.get() == 'foo') {...

View Article

How to order object files for a linker task cpp-application (say linkDebug or...

Hello! I’m porting some of our applications from make file system to Gradle based system. In our legacy make system, we control the order of object files to control static initialization order. Say,...

View Article


Image may be NSFW.
Clik here to view.

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

Super Thanks, Graou74! The jar you uploaded does check out with my 11 and 13 runtimes as having a valid module descriptor However, given all of the other evidence considered as a whole (the debug...

View Article

Image may be NSFW.
Clik here to view.

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

I have attached the printscreens settings. Java-versions.zip (1015.6 KB) lingocoder: I’m super-duper grateful to you, @Graou74, for you taking the time to help me troubleshoot this. Muy appreciado! I...

View Article


Gradle Enterprise Maven Extension 1.3.1 has been released

The Gradle Enterprise Maven Extension v1.3.1 has been released. See release notes for the changelog. Compatible with scans.gradle.com and Gradle Enterprise 2019.4 or later.

View Article

Best practice on using gradle docker plugin within docker

I am successfully running compile and artifact publication jobs within docker. How would I go about using the gradle docker plugin within docker, building and pushing docker images with the artifacts...

View Article

How to attach gradle source code to build.gradle file in eclipse

how to attach gradle source code to build.gradle file in eclipse. can i just press ctrl+ click navigate to the corresponding gradle source code in build.gradle file? tks.

View Article
Browsing all 19859 articles
Browse latest View live