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

Image may be NSFW.
Clik here to view.

Pass dynamic arguments to a plugin

gradleuser007: So in case of using a Property<String> , how would I pass it in without having to use a task . It’s unclear for your case. It’s largely dependent on what is supported by what...

View Article


Pass dynamic arguments to a plugin

It’s largely dependent on what is supported by what you’re using that is out of your control. My expectation is that the release task is added by org.some.otherplugin and that you can’t change its...

View Article


ERROR: Unable to resolve dependency for...

Gradle Sync Error ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.gms:play-services-base:[10.2.1, 16.1.99] Build.gradle (project) //...

View Article

Image may be NSFW.
Clik here to view.

Call task of another build.gradle file using a groovy method

keltik85: It only prints “Trying to trigger” , but no jar files are created inside the folders small-project-AAA/build and small-project-CCC/build When you execute your buildOtherSmallProjects task,...

View Article

Call task of another build.gradle file using a groovy method

Ok, how could i trigger the task then? Sorry for the dumb question!

View Article


User manual examples frustrating

The code snippets shown in the user guide are not just documentation. They are fully functioning examples that are tested as part of the CI build. Each snippet shown in the user guide is extracted...

View Article

Image may be NSFW.
Clik here to view.

Call task of another build.gradle file using a groovy method

keltik85: Ok, how could i trigger the task then? Rather than “triggering” the task, you should change up the configuration a bit. It’s pretty common that people don’t use doLast {} when they should,...

View Article

ERROR: Unable to resolve dependency for...

Issue is solved. Got help from Github.

View Article


Image may be NSFW.
Clik here to view.

Gradle plugin rejected. but no email

Hey i’ve tried to submit my plugin multiple times and it gets rejected. But i never got any email or message why it was rejected. could someone give me some pointers on what i still need to change?...

View Article


Plugin development: inspecting code

Hi, I’m creating a Gradle plugin that needs to inspect (and possibly change) sources. I wonder if Gradle has a tool to edit compilation. If yes, can anyone give the documentation about it ? I didn’t...

View Article

Maven-surefire-plugin

Hello, thank you very much for your help! I have a problem converting this pom to build.gradle, I don’t know how to do plugin settings. <?xml version="1.0" encoding="UTF-8"?> 4.0.0...

View Article

Gradle Enterprise Test Distribution Gradle plugin 1.0.1 has been released

The Gradle Enterprise Test Distribution Gradle plugin v1.0.1 has been released. Compatible with Gradle Enterprise 2020.2 or later.

View Article

Error for project.tasks.getting delegation in .kt file, but not in...

Adding {} also worked for me: val testClasses: Task by getting {}

View Article


Calling task of another gradle file in build.gradle file

Hi, I created a custom gradle file “extractYaml.gradle” with task “extract”. I want to call this task in build.gradle. Here is the code I wrote in build.gradle: task externalCall(type: GradleBuild) {...

View Article

Project 'html' not found in root project 'SnakeGame'

Howdy, I’m trying to create a localhost html page so I could deploy and test a snake game that I’ve created using the libgdx library and following this tutorial...

View Article


User manual examples frustrating

Thanks for the link James. It is very cool that examples are tested within CI but still for a reader it doesn’t give any help. It would be very nice if manual will contain some link to source code.

View Article

Could not create service of type OutputFilesRepository using...

A Lock was held by a rouge gradle daemon worker. I needed to kill the daemon to release the lock. Was using intellij & WSL2 (linux) with Local Gradle on windows ps -edalf | grep gradle kill...

View Article


How to access Gradle extra properties in src code?

can anyone please answer

View Article

Extension configuration lifecycle/callbacks

Hi, I am getting started with custom plugins and I am lost at how to approach this specific use case in an idiomatic way. My plugin takes input from an extension object and that input is used to...

View Article

Project 'html' not found in root project 'SnakeGame'

Did this tool generate a settings.gradle file for you? The error suggests it did not or did so without the correct contents.

View Article
Browsing all 19854 articles
Browse latest View live