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

Image may be NSFW.
Clik here to view.

Unexpected "Duplicate path" warning in :processFuncTestResources task

After upgrade to Gradle 6.3 I started to see number of the following warning (for different paths): > Task :processFuncTestResources Copying or archiving duplicate paths with the default duplicates...

View Article


Image may be NSFW.
Clik here to view.

Gradle test not picking up project dependency class

Hey. So in my test script I have declared in dependencies section implementation project(':Base') Compilation and all works fine, however when executing test task, I get...

View Article


Empty Project Name

Hello, I just downloaded gradle for the first time for a school project. To test that it worked my professor told me to build a daemon in the command prompt by just typing gradle while my directory is...

View Article

Buildship 3.1.4 is now available

We are happy to announce that Buildship 3.1.4 has just been released. This release provides support for running and building with Java 14. Installation Buildship 3.1.4 can be installed from the...

View Article

Win 10, Git Bash, gradlew, multiple debug-jvm, specify different ports

Hi, I have opened five git bash cli windows. I am in my gradle project, which contains a multitude of build.gradle files for the different subprojects, e.g.: my-user@my-laptop MINGW64...

View Article


Empty Project Name

Do you already have a gradle project or just go into command line on c:\ and type gradle? Here is described how to create a gradle project: https://guides.gradle.org/creating-new-gradle-builds/

View Article

Build timestamp in JAR and UP-TO-DATE

Any news on this? Because I still see the problem.

View Article

Build timestamp in JAR and UP-TO-DATE

There is still no support for just ignoring the value if you set it at configuration time. This isn’t really a problem though because you’ll often see the manifest attributes wrapped in doFirst { }....

View Article


Build path is incomplete. Cannot find the class file for java.lang

Hi, When opening a Gradle project via buildship I get following for error for all sub projects and compilation fails with many errors as it can’t find classes under java.lang package which suggests...

View Article


Image may be NSFW.
Clik here to view.

Empty Project Name

mwalker99: To test that it worked my professor told me to build a daemon in the command prompt by just typing gradle while my directory is set to the C: Drive, which is where I put my gradle download....

View Article

Is SetProperty with @InputFiles fully supported?

@Stefan_Wolf, I gave it a try and in general it works. However, I have some related questions. ConfigurableFileCollection doesn’t seem to provide any find of provider() which logic could be lazy...

View Article

Setting hotswapagent dependency jar as javaagent of tomcat for war project...

I’m using the gradle cargo plugin to launch tomcat, and i need to set the hotswapagent jar in the JVM args “-javaagent” of tomcat for hot reload to take place. I’m doing it in my main build.gradle for...

View Article

Could not resolve project

Hey. My project structure is something like. /A /B/C /B/D Project A depends on C and D and D depends on C. In settings.gradle of project A I have declared rootProject.name = 'A' include ':C', ':D',...

View Article


Could not resolve project

It doesn’t seem like you’ve provided exact code as you should have a different error if the line include ':C', ':D', actually has that comma at the end of it. You also haven’t shown the application of...

View Article

Image may be NSFW.
Clik here to view.

Could not resolve project

@jjustinic please see edited question. I have now included the scripts you’ve mentioned, maybe that will clarify a little

View Article


Could not resolve project

Well, it turned out that the issue was with the typo in path of D project in settings.gradle. Even if so, could the output be a little more verbose if build.gradle file was not found in the desired...

View Article

How to forward reference tasks for configuration?

Let’s say I have a project where I know eventually there will be a task with name “foo”. How do I attach a configuration block to it? For example: println("configuring build") println("re-configuring...

View Article


Image may be NSFW.
Clik here to view.

Could not resolve project

anril: Even if so, could the output be a little more verbose if build.gradle file was not found in the desired location? Not really, because there is no requirement that a specific project has a...

View Article

How to forward reference tasks for configuration?

You can’t attach anything to a task by name if it has not yet been declared (deferred configuration doesn’t change anything here, it still has to be declared first, even if not yet realized). To get...

View Article

Win 10, Git Bash, gradlew, multiple debug-jvm, specify different ports

If you want to run the services in parallel, I guess you have to specify a different port for each of your services, i.e. 6543 - ./folder-a/service-a/build.gradle 6544 -...

View Article
Browsing all 19850 articles
Browse latest View live