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

Upgrade Gradle version

This is enough to run your project with 6.1. If you also want to update the wrapper scripts, run ./gradlew wrapper and commit any changes that show up.

View Article


Could not resolve plugins

When I run gradle clean build, i get these exception My code{ plugins { id ‘org.springframework.boot’ version ‘2.2.5.RELEASE’ id ‘io.spring.dependency-management’ version ‘1.0.9.RELEASE’ } } What went...

View Article


Optimizing Gradle Builds in Jenkins Pipeline

I have a project that is successfully building with gradle, and also created a jenkins pipeline for it. The pipeline is written so that the ‘build’, ‘test’, ‘publishCoverageReport’ steps all happen in...

View Article

Maven-publish plugin + multi-module + parent pom

But there’s good reason to want to set a parent to a generated BOM. For instance, if i want to generate a BOM that has spring-boot-dependencies as a parent. Maven behaves differently if a BOM is a...

View Article

Experiencing stack overflow when updating to 6.6-rc-1

With the elasticsearch build we experience a stack overflow issue when we updated the gradle wrapper to the latest 6.6-rc-1. Find attached a scan dump from our internal gradle enterprise instance...

View Article


Gradle 6.6-rc-2 is now available for testing

Gradle 6.6 RC2 is available for testing; see the release notes for more information.

View Article

Gradle 6.6-rc-1 is now available for testing

View Article

Gradle 6.6-rc-2 is now available for testing

View Article


Gradle print vs println

Bringing this up to attention. Currently, whether in IntelliJ IDEA or Netbeans, both only flush when there is a newline character. System.out.printf(“xyz\n”); or System.out.println(“xyz”); These two...

View Article


Optimizing Gradle Builds in Jenkins Pipeline

At the moment there is not. If the stages share a common Gradle daemon then the configuration time would be minimized. There is a configuration cache feature in development and available for...

View Article

Full compileTestJava run when only one test class changed

@jjustinic My comments are not meant to offend and I don’t feel offended by yours. I recognize that you want to help to pin down the issue. I want to get it fixed too and I always appreciate the help...

View Article

Gradle popularity vs Maven

Another thought on your Google Trends data - I am completely converted to Gradle, but I still search “maven pom” and “maven repository” all the time. Because Gradle piggybacks on so many of the...

View Article

Experiencing stack overflow when updating to 6.6-rc-1

This is fixed in 6.6-rc-2.

View Article


Image may be NSFW.
Clik here to view.

Defining Consumer from Groovy build.gradle

I think I solved this. As far as I can tell the problem was that I attempted to have ProfileDefinition also be a Binding. I was playing with how to expose this to the “Gradle fragment” I apply and...

View Article

Image may be NSFW.
Clik here to view.

Gradle popularity vs Maven

You can find my BigQuery queries in this gist. NOTE: these queries are in the “legacy” SQL syntax. The blog post below shows new “Standard” syntax. I also wrote background information and context...

View Article


Gradle popularity vs Maven

Depending on your build logic, a gradle build script is much less verbose and simple than the Maven POM XML file. It is Build as Code compared to configuration. Because of this a gradle build script...

View Article

Image may be NSFW.
Clik here to view.

Failed to build the project

I am new to gradle and I am creating multiple projects but it gives me an error executing the build. image1501×275 12 KB the project structure is as follows: [http://imgfz.com/i/WcvLb3k.png] and I...

View Article


Image may be NSFW.
Clik here to view.

Full compileTestJava run when only one test class changed

No concerns here. I expect we’re here to have a discussion more than anything else if we’re coming to the community forum rather than the issue tracker. mschaaf: Is this now a confirmed bug? What is...

View Article

Apply inside of buildscript{}

I know that the buildscript{} configure the ScriptHandler by repositories{} and dependencies{}. But, I saw some build.gradle file have a buildscript{} that containing apply: buildscript { apply from:...

View Article

Full compileTestJava run when only one test class changed

@jjustinic I will mark your last comment as the resolution and will follow the linked issue https://github.com/gradle/gradle/issues/13681 Thanks again for your help.

View Article
Browsing all 20295 articles
Browse latest View live