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

Gradle Enterprise Gradle plugin 3.3.1 has been released

The Gradle Enterprise Gradle plugin v3.3.1 has been released. New in this version: Fix build scan background uploading for Gradle 6.5+ Support ‘http.nonProxyHosts’ system property for https proxies...

View Article


Use Java 9 modules with Gradle 6.4

Hi Guys. I’m starting to learn Java module and I created my first module with Gradle. I noted that Gradle introduced building java modules directly. Now I want some information about the use of java...

View Article


MavenDeployment deprecated with Gradle 6.3,

Hi Guys. I’m refactoring my build gradle and I’m removing all deprecated dependences, but I noted that the MavenDeployment interface inside package org.gradle.api.artifacts.maven was deprecated, but...

View Article

How to enable all optional dependencies for tests

Unfortunately my project has more than 100 sub-projects, so it’s quite inconvenient to rewrite all these gradle files this way. Since Gradle is highly programmable, there should be some trick to do it...

View Article

Upgrade Gradle 4.0

Thank you for replying. The problem is that the Android plugin is doing a check on the Gradle version Does this mean I need to stop the Android plugin from doing a check on the Gradle version? If so,...

View Article


Getting errorCommand failed: gradlew.bat app:installDebug...

FAILURE: Build failed with an exception. Where: Build file ‘E:\HS\android\build.gradle’ line: 16 What went wrong: A problem occurred evaluating root project ‘HS’. Could not find method...

View Article

Kotlin delegation for gradle task

I have something like this: interface Base { var a: String? var b: String? } class BaseImpl(override var a: String?, override var b: String?) : Base{ } Now I have to get the value of a and b using...

View Article

Force resolving (and downloading) all dependencies

Thank you both for the answers. This helped me and the results look promising! @CedricChampeau It seems that dependency verification is only added in Gradle 6? I could not find that documentation for...

View Article


Where can I find distribution checksums

All checksums are available at https://gradle.org/release-checksums/

View Article


MavenDeployment deprecated with Gradle 6.3,

You need to update to use the Maven Publish plugin: https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven

View Article

Force resolving (and downloading) all dependencies

Dependency verification was introduced in Gradle 6.2: https://docs.gradle.org/6.2/release-notes.html#dependency-verification

View Article

Image may be NSFW.
Clik here to view.

Where can I find distribution checksums

Great. Having that in place, maybe it would be easier to implement some further improvements github.com/gradle/gradle Enhance wrapper task to generate and put sha256Sum in gradle-wrapper.properties...

View Article

Exclude of non-related class in gradle showing coverage in sonar dashboard

I am currently using community edition of sonar Version 7.9.1. Added the below piece of code in my build.gradle for the exclusion of some of classes, but sonar dashboard of this particular project...

View Article


Image may be NSFW.
Clik here to view.

Guidance on api vs implemetation dependency on Jackson libraries

l = Jackson s = @JsonInclude p = your project t = ProcessedDeclaredLicense My answer wasn’t precise about what part of the export means. Java annotations are special in this regard. The whole thing...

View Article

Image may be NSFW.
Clik here to view.

Guidance on api vs implemetation dependency on Jackson libraries

You’re somewhat like a politician, always avoiding to answer a question with a clear yes or nor, and without asking a counter question But then I’d say it’s a no, i.e. Jackson is an implementation...

View Article


Plugin task order on multi-module project

Hi, I’m trying to add a new task to a gradle plugin to generate java source files. I need this files to compile user’s source files, so I added compileJavaTask.mustRunAfter(myTask);. And it is...

View Article

Package does not exist

I’m facing very similar issue. Currently using gradle 5.1.1 package does not exist when doing gradle build. When I’m trying to access class from another package, saying package does not exist....

View Article


Android Gradle Plugin 3.6.0 increases debug app size

Upgrading Android Gradle Plugin from 3.5.0 to 3.6.0 is doubling our .aab debug files: Android Gradle Plugin 3.5.0: debug .aab: 98 MB release .aab: 96 MB Android Gradle Plugin 3.6.0: debug .aab: 248 MB...

View Article

How to enable all optional dependencies for tests

You could probably do it via subprojects { apply plugin: 'java-library' configurations { optional } configurations.implementation.incoming.dependencies.all { if (it instanceof ProjectDependency) { //...

View Article

Gradle 6.4.1 released

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

View Article
Browsing all 19850 articles
Browse latest View live