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

Upgrading jetty to 9.4.20.v20190813

Project: Gradle project IDE: Eclipse JAVA VERSION: java version "1.8.0_202" Java(TM) SE Runtime Environment (build 1.8.0_202-b08) Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode) Build...

View Article


How to get the corresponding taskName with a build cachekey

Hi, are there any good practices to get the taskName by a cacheKey? any API I can use?

View Article


Fail the build when a task fails

Hi, Can you please explain with example

View Article

Don't run tests unless test task specified on command line

That did the trick! Thank you! It’s startParameter without the s.

View Article

Gradle 5.6.4 Released

Gradle 5.6.4 has been released. This release is a cumulative release of all previous patch releases along with fixes for two new regressions reported against Gradle 5.6. This is the final minor...

View Article


How to get the corresponding taskName with a build cachekey

There’s no way to do this, for two main reasons: A cache key is effectively a hash, meaning from the inputs I can reproduce the same hash, but you can’t infer the inputs from the hash. It’s a one way...

View Article

Image may be NSFW.
Clik here to view.

Configuration phase thread safety

jbytecoder: Can we assume that configuration phase is run from single thread and therefore there is no need to use synchronization. Yes. This isn’t really a properly documented guarantee, but there is...

View Article

Image may be NSFW.
Clik here to view.

ProjectBuilder and Project#afterEvaluate hooks

Steve_Ebersole: Is there a way to trigger afterEvaluate actions on a Project obtained from ProjectBuilder after we have the Project reference (since we need the Project to perform the configuration)?...

View Article


How to get the corresponding taskName with a build cachekey

Thanks for the quick reply. I know that it’s no way to infer the inputs from the hash. What I’d like to do is collecting cache keys to figure out which tasks are easily cache-miss in our project...

View Article


Image may be NSFW.
Clik here to view.

Trouble with Defining Custom Platform and TargetMachines for C/C++ Applications

Hello. I’m having an issue with using the Native Build infrastructure (as provided by the ‘cpp-application’ and ‘cpp-library’) to cross compile to non-standard HW targets. So for example I am looking...

View Article

Image may be NSFW.
Clik here to view.

How to get the corresponding taskName with a build cachekey

luka107: Right now, I can only receive the cache keys from my own cache server without any taskName information. Right, because cache requests don’t include the task name. When Gradle asks the build...

View Article

Error Running Gradle & Cannot resolve symbol 'GradleException'

I can not find it, in which file do you exatly mean, Sir.

View Article

Need help gradle

Error running Gradle: ProcessException: Process “D:\ANDRSTD\AndroidStudioProjects\flepper\android\gradlew.bat” exited abnormally: FAILURE: Build failed with an exception. Where: Build file...

View Article


Exposing a custom configuration

Hi, I’m using Gradle 5.6.2 and the Gradle Kotlin DSL. In my buildSrc for a multi module project, I have declared a custom plugin which declares a custom configuration: val javaConvention =...

View Article

Need help gradle

Could you please share the relevant part of app\build.gradle?

View Article


Parasoft JTest integration with Gradle

Hi All, Need a help on integrating gradle with parasoft. We couldn’t find init.gradle or jtest.gradle in the installation folder of Gradle which was mentioned in the Parasoft manual....

View Article

How to know which test case is run by each gradle test executor?

Hi , I am facing the same problem. Are there any ideas outside? Would be nice to get feedback. Thanks in advance Markus

View Article


[Native CPP]: How I can to exclude all tests from build

Hi to all, I have a build script with mixed Java and C++ components: plugins { id 'cpp' id 'idea' id 'java-library' id 'maven-publish' id 'visual-studio' id 'google-test-test-suite' } ... model {...

View Article

Need help gradle

def localProperties = new Properties() def localPropertiesFile = rootProject.file(‘local.properties’) if (localPropertiesFile.exists()) { localPropertiesFile.withReader(‘UTF-8’) { reader ->...

View Article

Need help gradle

Here you are Sir. Can you help please!

View Article
Browsing all 19845 articles
Browse latest View live