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

How to disable transitive compile dependencies

Hi, We want to explicitly define all compile dependencies. We define the following configuration: configurations { compile.transitive = false } We have used this configuration for sometime. We...

View Article


Task upToDate evaluation

Another workaround we have found: override JavaExec class with your own and filter default jmvArgs getter result

View Article


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

Background We have a multi-project build running the latest version of Gradle, v6.0.1. Each sub-project declares its own dependencies along with any restrictions necessary for the project to run...

View Article

Exclude not available in java-platform constraints?

Did you ever find a resolution? I have the same issue.

View Article

Exclude not available in java-platform constraints?

You could do api ("org.apache.cactus:cactus.core.framework.uberjar.javaEE.15:1.8.1") { transitive = false }

View Article


Gradle Plugin Logging without the Gradle API

You’re not using gradleApi() for that project?

View Article

Why gradle does not use cache in docker

But why the following work: FROM node:10-alpine as node WORKDIR /app COPY package*.json ./ RUN npm install ADD . . RUN npm run build The last line npm run build will reuse the node dependencies...

View Article

Gradle Plugin Logging without the Gradle API

I am using the GradleApi for this project, it is a Gradle Plugin, but not for the Classes in Test, see the integrationTestRuntimeOnly Configuration.

View Article


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

Hi Lingocoder, I take advantage of an end of stage in my project to return on your example. I deleted the “build” directory, made a “Refresh Gradle project” in Eclipse and then launched “1 Gradle...

View Article


Methods part of incremental build of Copy, Zip, Jar and similar tasks should...

I had the same problem with lazy evaluation of classpath for manifest attributes. I found this solution and after further search, it think it should be possible to use lazy string evaluation like this...

View Article

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

Hi again Lingocoder, Oops, the video has not passed. It can be downloaded here: http://dl.free.fr/naRQM5Y4f ----- Mail original -----

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 will not investigate more but I add a video to prove that I saw a UFO…“ Thanks @Graou74. It would not be nice of me to play the Neil DeGrasse Tyson to your Giorgio Tsoukalos So I will...

View Article

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

Warning: comes from area 51 Graou74.zip (460.8 KB)

View Article


Set max workers dynamically

Is there any way to adjust max workers dynamically based on the number of machine’s cores? I see the API in StartParameter (setMaxWorkerCount) but it seems to be ignored, even if set from within...

View Article

Image may be NSFW.
Clik here to view.

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

Graou74: „…Warning: comes from area 51…“ Ah Yes! That Xtra-File I requested. Thanks, man I want to believe that I did everything that you did in your vid, @Graou74. But I got a different result…...

View Article


How to pass arguments with spaces to JavaExec task?

I require the following 6 arguments to be passed to a JavaExec task: –project=abc --dbRegion=def --j2JschemaClass=com.b.A --j2JuserFile=…/a/sql/users.sql --jinjaFilePath=…/a/infra/r.yaml...

View Article

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

I deleted all com.lingocoder files, updated Eclipse Buildship to Buildship 3.1.3.v20191117-2045, then I tried the test again and I have exactly the same behavior. It does not change anything if I try...

View Article


No source folders when importing Gradle project with Buildship 3.1.2

The root directory in the git repository doesn’t contain build scripts (build.gradle, settings.gradle), only the environment and samples directories do. You should only import those projects. I’ve...

View Article

Gradle Enterprise 2019.4.1 has been released

Gradle Enterprise 2019.4.1 is now available. Please see the release notes for more information.

View Article

Image may be NSFW.
Clik here to view.

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

Graou74: „…updated Eclipse Buildship to Buildship 3.1.3.v20191117-2045…“ I’m not sure how much it matters. But the version of Buildship I’m running is 3.1.4.v20191121-2249-s. I think the -s on the end...

View Article
Browsing all 19850 articles
Browse latest View live