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

Image may be NSFW.
Clik here to view.

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 Article


How 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 Article


Yet 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 Article

Image may be NSFW.
Clik here to view.

Yet 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 Article

Cannot 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 Article


Can'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 Article

Continuing 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 Article

Compile 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 Article


Regarding 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 Article


Image may be NSFW.
Clik here to view.

Adding 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 Article

Include 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 Article

Building 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 Article

Error: ')' 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 Article


Jar 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 Article

Image may be NSFW.
Clik here to view.

Composite 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 Article


Include 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 Article

Blog 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 Article


Gradle 6.6 released

Gradle 6.6 released; see the release notes for more information.

View Article

Gradle 6.6 released

View Article

Migrate 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
Browsing all 19845 articles
Browse latest View live