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

Exclude dependency using Java instead of Groovy (aka closures in Java)

Thanks. I ended up with the second option, which works just great. Regarding the first option, I had to add non-null owner in the ActionClosure constructor: import gradle.api.Action; import...

View Article


Exclude dependency using Java instead of Groovy (aka closures in Java)

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

View Article


Export-Package from depended-upon jars in PDE project

The WALA project has a fairly complex Gradle 6.3 build system with more than two dozen Gradle subprojects. Most of these subprojects do not necessarily need to be Eclipse PDE plug-in projects, but a...

View Article

Image may be NSFW.
Clik here to view.

Add a dependency via command line ala pip and npm?

Did you create it ?

View Article

Configure test dependends on custom configuration in same project

what problem are you trying to solve here? I’m sorry I’m not clear on the problem, essentially, I forgot to mention that we also configure intellij to pick up the the “sources” of customConfiguration...

View Article


Sigining inside subprojects

The solution so far that I was able to come with is: task signJars { dependsOn( jar, sourceJar, javadocJar ) signing { doLast { [jar, javadocJar, sourceJar].each { Task task -> File file =...

View Article

How to remove xmx default value added by gradle when forking a process to...

Hi In my Android Project, I have the fellowing configuration. unitTests.all { jvmArgs '-noverify', "-XX:+UseContainerSupport, } I don’t want de specify the xmx parameter because my tests are executed...

View Article

Force resolving (and downloading) all dependencies

Hello, We are running a CI build of some of our Gradle applications. These builds are run inside Docker containers in an ‘empty’ system. To improve build times, we cache the dependencies of the Gradle...

View Article


Convert build.gradle file of an Android library module to build.gradle.kts...

I am also facing same issue. Any solutions for it yet?

View Article


Gradle Enterprise Maven Extension 1.5 has been released

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

View Article

Gradle Enterprise Gradle plugin 3.3 has been released

The Gradle Enterprise Gradle plugin v3.3 has been released. New in this version: Uploads build scans in the background after the build has finished Documentation improvements Compatible with...

View Article

One build one microservice only on clean build

I have one microservice that is needed only locally, and not in any other envs. Is it possbile to setup configuration so that one microservice and the build task’s of the service are run only on clean...

View Article

Gradle Enterprise 2020.2 has been released

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

View Article


Gradle Enterprise 2020.1 has been released

View Article

Gradle Enterprise 2020.2 has been released

View Article


Gradle 6.4 released

Gradle 6.4 is now available. See the release notes for more information.

View Article

Gradle 6.4 released

View Article


Gradle Enterprise Maven Extension 1.5 has been released

View Article

Gradle Enterprise Gradle plugin 3.3 has been released

View Article

How to Inlcude Gradle custom Jars in build output dir?

Hello, I am new to Grable. I need help on how to include jars into build dir that were produced by Jar tasks in gradle file ? I have 10 jar tasks in gradle.build and I would like to include them build...

View Article
Browsing all 19854 articles
Browse latest View live