Grade Build Task Failed
zvz23: I added compile files(‘lib/jcommander-1.78.jar’) because the other forum said it was the solution to add the dependency to build.gradle and still outputs the same error Adding a file dependency...
View ArticleGrade Build Task Failed
Thanks man, it is now working, sorry for the nonsense question I just started using gradle yesterday
View ArticleGradle 6.5.1 released
Gradle 6.5.1 is now available. See the release notes for more information.
View ArticleDistributed Gradle Daemons
Good morning, I am trying to make my builds faster by distributing Gradle tasks (like gradle test --tests subproject1 on VM1 and gradle test --tests subproject2 on VM2) across VMs. I want the daemon...
View ArticleDistributed Gradle Daemons
Also, I want to integrate by “tool executes the gradle build”
View ArticleIs it possible to use gradle with VPN app in MAC?
Hi, I am trying to build Android app with gradle, while doing so I need to download dependencies from our office VPN network. To connect to our office network, we use VPN app in mac. If I connected to...
View ArticleCombine javadocs of subprojects: too many module declarations
I use this to try to create an aggregate javavadoc of all subprojects, alongside the jar that combines all subproject jars (next up would be combined sources): task javadocs(type: Javadoc) { source...
View ArticleMaven-surefire-plugin
Hi @Lance Could you please help me to implement below from pom.xml in build.gradle? <plugin> <groupId>org.apache.maven.plugins</groupId>...
View ArticleGradle to identify which tests to run
I have a big java codebase in Gradle with hundreds of sub-projects. Some sub projects are independent (not in the builg graph), and even though I change java source code in there, gradle runs all the...
View ArticleDependency management in multi-project build - Jar every Project?
Hi Simon, I just thought I’d check in and see how your project went/is going. What did you end up implementing? Chris
View ArticleInferred Task dependencies using Properties of simple types
What you are trying to do does not work because Producer.message is not a task output. While Gradle has the concept of input files and properties, it does not have output properties, only output...
View ArticleSetting property convention with managed properties
My opinion is that the conventions should be set by the plugin after creating the extension. I think it works well as a best practice for maximizing the re-usability of the extension class. For...
View ArticleWhat are possible ways of including some calls of run task with args in a...
Take a look at task rules.
View ArticleProject dependencies ignored when compiling custom source set
When the demo source set is created, a number of configurations are also created (demoImplementation, demoRuntimeOnly, see Java Plugin docs for full list). While you are setting demo's compile and...
View ArticleHow can I find out what's artifact is downgrading a dependency?
The dependencyInsight task can sometimes be helpful in answering these types of questions. ./gradle dI --configuration compileClasspath --dependency hazelcast
View ArticleError expecting anything but ''\n''
Check that you don’t have any left and right double quote characters instead of straight double quote characters. I can reproduce some wild behaviours with those “fancy” quotes in my build.gradle. Get...
View ArticleAndroid Studio: Package Native Libraries into APK
BLUF: See build.gradle files embedded…is there something I need to add to an android build.gradle file to get the desired result. I am trying to get JOGAMPs JOAL (OpenAL) to package into an APK for my...
View ArticleJava Native Library Task in flat-folder multi-project
I am still very gradle noob so basic principles are eluding me. After I discovered there was nothing in the supplied framework to handle native library declarations in java, I read the docs and forums...
View Article