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

How can I delete a file from inside a task?

project.Delete() cannot be called from outside a task or a buildScript. It also requires a path to your File or Dir

View Article


How can I delete a file from inside a task?

project.Delete() cannot be called from outside a task or a buildScript. It also requires a path to your File or Dir Right, so why doesn’t it work when I do this inside a custom task inside my...

View Article


How can I delete a file from inside a task?

It looks like my mistake was that I needed to do project.fileTree instead of just fileTree. open class WindowsInstaller () : DefaultTask() { ... @TaskAction fun generateWindowsInstaller() {...

View Article

Failed to get resource: GET. [HTTP HTTP/1.1 530

Hi i have suddenly started getting the following errors : at the beginning of my build : Failed to get resource: GET. [HTTP HTTP/1.1 530 :...

View Article

Image may be NSFW.
Clik here to view.

Gradle build 失败

There is an error when creating the first project. How to solve it?Thank you very much! RJ5F$9T~5HFH7@QL)%X_`A1734×986 93.8 KB

View Article


Creating files in META-INF folder inside of jar without creating them outside...

Hello, I might be trying to do something that isn’t supported… I’m trying to generate a file that only gets created inside of the jar during the jar task. It would be easy to create the file first...

View Article

Project level build cache for javascript and yarn projects

This is becoming a bigger pain point for me. I’ve dug around the gradle issues a bit, and couldn’t find anything regarding a task-level solution nor a project-level solution. What’s the most helpful...

View Article

Issue with https://guides.gradle.org/creating-new-gradle-builds

in https://guides.gradle.org/creating-new-gradle-builds/#create_a_task after editing build.gradle. I disconnected from the internet. > ./gradlew copy Downloading...

View Article


Issue with https://guides.gradle.org/creating-new-gradle-builds

gradle.bat -v Gradle 6.3 Build time: 2020-03-24 19:52:07 UTC Revision: bacd40b727b0130eeac8855ae3f9fd9a0b207c60 Kotlin: 1.3.70 Groovy: 2.5.10 Ant: Apache Ant™ version 1.10.7 compiled on September 1...

View Article


Issue with https://guides.gradle.org/creating-new-gradle-builds

skipping checking out gradle for now. along with exploring android devlopment. it’s a mess to complete the hello world part.

View Article

Image may be NSFW.
Clik here to view.

Gradle 6.3 released

Issue with https://guides.gradle.org/creating-new-gradle-builds Help/Discuss in https://guides.gradle.org/creating-new-gradle-builds/#create_a_task after editing build.gradle. I disconnected from the...

View Article

Image may be NSFW.
Clik here to view.

Issue with https://guides.gradle.org/creating-new-gradle-builds

ret394: in https://guides.gradle.org/creating-new-gradle-builds/#create_a_task after editing build.gradle. I disconnected from the internet. is this normal? Yes, this would be expected if you are...

View Article

Assets jar not included in classpath for play framework plugin

Hi! I’m creating a Play Framework application, using the gradle plugin. I’ve managed to run the ‘dist’ task and package the resulting artifacts in a Docker image by ADDing the main.tar that is...

View Article


Build fails with "org.gradle.api.internal.provider.DefaultProviderFactory...

I have the exact same issue and I’ve been able to reproduce it with a minimal viable code: https://github.com/anthofo/gradle6_ReplaceTokens_issue. Ticket: https://github.com/gradle/gradle/issues/12729

View Article

Closure Input being called with null argument

I’ve got this issue today. Wonder no one else caught it.

View Article


Tooling api - support for relative paths in gradle.properties

Hi! I’m having some difficulty using the gradle tooling api with relative paths in set in gradle.properies. A simple example of this:...

View Article

Finished with error: Gradle task assembleDebug failed with exit code 1

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.3/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional...

View Article


What is the cause of intermittent "Failed to store cache entry for task"...

We occasionally get the following: * What went wrong: Execution failed for task ':...:compile...Java'. > Failed to store cache entry for task ':...:compile...Java' Notes: Does not happen always....

View Article

Third party dependency verification and multiple developers - Is it broken or...

My Team is using Third-party dependency verification via the use of the verification-metadata.xml file. We are cloning a repo and generating the verification file via the bootstrapping method....

View Article

Test GradleBuild-Task with TestKit not working

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

View Article
Browsing all 20317 articles
Browse latest View live