How to customize JavaExec command line
Hello Everyone ! I have a project comprised of three java server apps. They need to run concurrently for me to use the application. Gradle’s JavaExec waits for each java process to end (maybe that’s...
View ArticleHow to customize JavaExec command line
The three app are defined in distinct subprojects and --parallel should be able to have them all run concurrently but that would be nice to not have to use a flag every time (and enabling it by...
View ArticleYet another classpath ordering question
The subject of classpath ordering has been discussed multiple times in this forum, but I still can’t figure out (1) how it is ordered and (2) how to change it. My environment is multi-project eclipse....
View ArticleYet another classpath ordering question
Another thread provides the “solution” to my particular problem. But seriously, I can’t defend this hack to my review team. The order of dependency declaration in a gradle file needs to matter....
View ArticleCannot parse result path string
Failed to transform artifact ‘core.aar (androidx.core:core:1.1.0)’ to match attributes {artifactType=android-res}. Execution failed for AarTransform:...
View ArticleCan't find module when running JUnit
I’ve done all the hacks you have to do to get Buildship to put things on your module path. I’ve checked it in Eclipse and it worked. The project and both modules are on the module path. But when I try...
View ArticleContinuing the discussion from [What is the status and future of parallel...
Is --parallel switch still incubating? At least the doc doesn’t mention that.
View ArticleCompile Single Java Class with third-party jar dependencies
I followed this answer https://stackoverflow.com/a/19418847/1665592 but it doesn’t help me to compile single java files using Gradle. It says Task :compileMessageKeys NO-SOURCE Why? I just have only...
View ArticleRegarding sync errors
I have beentrying to built an app in java language but after updating android studio to the latest version it was showing me sync errors can somebuddy help me how can I clear this errors
View ArticleAdding gradle wrapper files to gitignore
Leo326: As can I see, the only reason to use Gradle wrapper is to specify its version (please correct my if I missed something) @Leo326, Gradle wrapper does an important job of verifying the...
View ArticleInclude time spent on "setUp" in test execution time
I use Gradle 6.6 RC6 with TestNG 7. Several of my tests spend a lot of time in the code surrounding the test, i.e. setting up the Spring context, and doing things in setUp (@BeforeMethod). Sadly, this...
View ArticleBuilding Gradle without scala and sbt/zinc
Here’s the link to the errors when I try to replace com.typesafe.zinc with org.scala-sbt.zinc https://paste.ubuntu.com/p/pqHxVMSNZk/
View ArticleError: ')' expected
Hello guys, I am trying to run a splash screen and I am getting this error code. The code is exactly the same as the one from the tutorial I was watching from YouTube. I am a beginner...
View ArticleJar exclude not working
My first gradle build and have made progress but stuck at excluding some classes from a jar. Here is what I am using. But I see the final jar file still has the folders I want to exclude. task...
View ArticleComposite build problem
Hello, What I would like is to have the following project structure: composite-build - application (uses gradle plugin from 'library/gradle-plugin') - library - gradle-plugin (references some utility...
View ArticleInclude time spent on "setUp" in test execution time
With the following configuration I get testng-results.xml files, which contain individual XML snippets both for test methods, and each invocation of setUp methods. I’d love to have a nicer...
View ArticleBlog subscription failure
I’m trying to subscribe to the blog (in Liferea) and its parser is failing. Its FAQ directs me to check the feed against the WC3 Feed Validation Service. It looks like it’s failing because there are...
View ArticleMigrate Nested Parent Maven Project to Gradle
Hello everyone! I am not certain if this has been posted before but I wasn’t able to find it, so my apologies if it has been answered (and please point me to the answer if so!). I am trying to migrate...
View Article