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 ArticleHow 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 ArticleHow 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 ArticleFailed 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 ArticleGradle 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 ArticleCreating 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 ArticleProject 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 ArticleIssue 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 ArticleIssue 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 ArticleIssue 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 ArticleGradle 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 ArticleIssue 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 ArticleAssets 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 ArticleBuild 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 ArticleClosure Input being called with null argument
I’ve got this issue today. Wonder no one else caught it.
View ArticleTooling 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 ArticleFinished 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 ArticleWhat 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 ArticleThird 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 ArticleTest GradleBuild-Task with TestKit not working
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View Article