# Help/Discuss

**URL:** https://discuss.gradle.org/c/help-discuss/14.md?page=1

[Latest](https://discuss.gradle.org/latest.md) · [Categories](https://discuss.gradle.org/categories.md) · [Tags](https://discuss.gradle.org/tags.md)

**Page:** 2

---

## [Passing immutable state to child projects with project isolation](https://discuss.gradle.org/t/passing-immutable-state-to-child-projects-with-project-isolation/52131)

<div class="topic-metadata">

**Author:** [@kikugie](https://discuss.gradle.org/u/kikugie)\
**Replies:** 0\
**Last updated:** [July 16, 2026, 5:24pm UTC](https://discuss.gradle.org/t/passing-immutable-state-to-child-projects-with-project-isolation/52131 "2026-07-16T17:24:50Z")

</div>

Hi, I’m the developer of Stonecutter plugin - a preprocessor plugin for jvm languages. TL;DR on it’s functionality: it creates a set of subprojects for each possible state of the shared source code. During build, the sh…

---

## [Gradle daemon produces a lot of logs](https://discuss.gradle.org/t/gradle-daemon-produces-a-lot-of-logs/9905)

<div class="topic-metadata">

**Author:** [@jk1](https://discuss.gradle.org/u/jk1)\
**Replies:** 5\
**Last updated:** [July 14, 2026, 1:01pm UTC](https://discuss.gradle.org/t/gradle-daemon-produces-a-lot-of-logs/9905 "2026-07-14T13:01:28Z")

</div>

We're using gradle daemon for some time and are quite happy with it, as it significantly speeds up the build. It turned out, however, that gradle daemon logs every build within ~/.gradle/daemon/2.4/daemon-XXXX.out and…

---

## [Multi-project layout if main subproject and root project should have the same name?](https://discuss.gradle.org/t/multi-project-layout-if-main-subproject-and-root-project-should-have-the-same-name/52126)

<div class="topic-metadata">

**Author:** [@Joachim\_Durchholz](https://discuss.gradle.org/u/Joachim_Durchholz)\
**Replies:** 6\
**Last updated:** [July 13, 2026, 11:16am UTC](https://discuss.gradle.org/t/multi-project-layout-if-main-subproject-and-root-project-should-have-the-same-name/52126 "2026-07-13T11:16:53Z")

</div>

Gradle 9 user here. I want to use Gradle to build two artifacts, one commonly used as implementation("tld.domain:foo") and one as testImplementation("tld.domain:foo-test") FWIW foo-test depends on foo. It contain co…

---

## [Error tyying to build a project](https://discuss.gradle.org/t/error-tyying-to-build-a-project/52127)

<div class="topic-metadata">

**Author:** [@robertpheller](https://discuss.gradle.org/u/robertpheller)\
**Replies:** 3\
**Last updated:** [July 13, 2026, 6:27am UTC](https://discuss.gradle.org/t/error-tyying-to-build-a-project/52127 "2026-07-13T06:27:02Z")

</div>

I am getting an error trying to build a project. The build scan is here: Build Scan® | Develocity I am wondering: is this because I am on a ARM64 Linux (a Raspberry Pi 5)? The Android Studio tarball contained severay x…

---

## [Publishing without rebuilding](https://discuss.gradle.org/t/publishing-without-rebuilding/15635)

<div class="topic-metadata">

**Author:** [@aesteve](https://discuss.gradle.org/u/aesteve)\
**Replies:** 5\
**Last updated:** [July 9, 2026, 8:00am UTC](https://discuss.gradle.org/t/publishing-without-rebuilding/15635 "2026-07-09T08:00:31Z")

</div>

Hi there, I'm looking for a proper, clean way to publish an artifact to a Nexus repository without rebuilding the whole project. I'm not sure this is under the scope of the actual gradle-release plugin. Let's imagine…

---

## [Fail to download when using 'gradle init'](https://discuss.gradle.org/t/fail-to-download-when-using-gradle-init/52118)

<div class="topic-metadata">

**Author:** [@Arnault](https://discuss.gradle.org/u/Arnault)\
**Replies:** 2\
**Last updated:** [July 1, 2026, 2:19pm UTC](https://discuss.gradle.org/t/fail-to-download-when-using-gradle-init/52118 "2026-07-01T14:19:33Z")

</div>

I am new to gradle and I wan to migrate one existing maven project to gradle. I have writen the init.gradle file: allprojects { repositories { maven { url = uri("URL1") credentials { username = System.gete…

---

## [Maven publish plugin docs look wrong](https://discuss.gradle.org/t/maven-publish-plugin-docs-look-wrong/52113)

<div class="topic-metadata">

**Author:** [@sixcorners](https://discuss.gradle.org/u/sixcorners)\
**Replies:** 2\
**Last updated:** [July 1, 2026, 7:04am UTC](https://discuss.gradle.org/t/maven-publish-plugin-docs-look-wrong/52113 "2026-07-01T07:04:44Z")

</div>

It says “groovy” is the maven publish plugin identifier.

---

## [Is the \`--non-interactive\` flag default in CI? If not, why?](https://discuss.gradle.org/t/is-the-non-interactive-flag-default-in-ci-if-not-why/52115)

<div class="topic-metadata">

**Author:** [@rkrisztian](https://discuss.gradle.org/u/rkrisztian)\
**Replies:** 0\
**Last updated:** [July 1, 2026, 5:45am UTC](https://discuss.gradle.org/t/is-the-non-interactive-flag-default-in-ci-if-not-why/52115 "2026-07-01T05:45:53Z")

</div>

I’ve read the release notes of Gradle 9.6.1: It says that there is now a --non-interactive flag (currently in incubating state), which is useful for CI pipelines. The documentation says: By default, Gradle may promp…

---

## [execOperations.javaExec { .. } - modify jvmArgs](https://discuss.gradle.org/t/execoperations-javaexec-modify-jvmargs/52111)

<div class="topic-metadata">

**Author:** [@tkrah](https://discuss.gradle.org/u/tkrah)\
**Replies:** 2\
**Last updated:** [June 29, 2026, 2:00pm UTC](https://discuss.gradle.org/t/execoperations-javaexec-modify-jvmargs/52111 "2026-06-29T14:00:50Z")

</div>

Hi, is it possible to modify execOperations.javaExec { .. } to always have a set of jvmArgs applied? I got a plugin (not one of mine) which has a Task and in the body of that task it uses: execOperations.javaExec { ..…

---

## [Apply plugins provided from convention plugins conditionally](https://discuss.gradle.org/t/apply-plugins-provided-from-convention-plugins-conditionally/52106)

<div class="topic-metadata">

**Author:** [@TheBatOutOfHell](https://discuss.gradle.org/u/TheBatOutOfHell)\
**Replies:** 1\
**Last updated:** [June 25, 2026, 1:32pm UTC](https://discuss.gradle.org/t/apply-plugins-provided-from-convention-plugins-conditionally/52106 "2026-06-25T13:32:01Z")

</div>

Hello what would be the recommended way to apply plugins conditionally. Say I have a set of convention plugins and those plugins configure other plugins e.g plugins { id 'maven-publish' id 'io.freefair.lombok' i…

---

## [How to resolve the runtimeClasspath of another sub-project](https://discuss.gradle.org/t/how-to-resolve-the-runtimeclasspath-of-another-sub-project/52078)

<div class="topic-metadata">

**Author:** [@gradle\_user](https://discuss.gradle.org/u/gradle_user)\
**Replies:** 13\
**Last updated:** [June 24, 2026, 5:01pm UTC](https://discuss.gradle.org/t/how-to-resolve-the-runtimeclasspath-of-another-sub-project/52078 "2026-06-24T17:01:54Z")

</div>

Hi! I created a zip task to package a web application with a webserver. As part of this process I want to exclude all jar files from the exploded war file if they are already present in the webserver’s classpath. I hav…

---

## [Cache Understanding](https://discuss.gradle.org/t/cache-understanding/52103)

<div class="topic-metadata">

**Author:** [@patient-developer](https://discuss.gradle.org/u/patient-developer)\
**Replies:** 7\
**Last updated:** [June 23, 2026, 1:56pm UTC](https://discuss.gradle.org/t/cache-understanding/52103 "2026-06-23T13:56:01Z")

</div>

Hi, I am trying to understand the behaviour of the build-cache in contast to the (so-called) “project-cache”. Due to the discussion in my previous topic and I managed to enable incremental build and skip fetching proto…

---

## [Help me with mod to Minecraft](https://discuss.gradle.org/t/help-me-with-mod-to-minecraft/52095)

<div class="topic-metadata">

**Author:** [@neporyadochnyy](https://discuss.gradle.org/u/neporyadochnyy)\
**Replies:** 2\
**Last updated:** [June 19, 2026, 7:38pm UTC](https://discuss.gradle.org/t/help-me-with-mod-to-minecraft/52095 "2026-06-19T19:38:57Z")

</div>

I am beginner in making a mods for Minecraft and I cant configure the Gradle in IDEA. I’ve tried different versions of Java: 21, 24, 17. All of them give out this: A problem occurred configuring root project ‘test1’. …

---

## [Sharing providers and closures between files](https://discuss.gradle.org/t/sharing-providers-and-closures-between-files/52083)

<div class="topic-metadata">

**Author:** [@EttoreK](https://discuss.gradle.org/u/EttoreK)\
**Replies:** 10\
**Last updated:** [June 19, 2026, 6:46pm UTC](https://discuss.gradle.org/t/sharing-providers-and-closures-between-files/52083 "2026-06-19T18:46:03Z")

</div>

Hello, In my current build-logic, I have scripts that share providers and closures. These are created in script A, and all of them are consumed by scripts B and C. I am currently using project.ext to share them, which I…

---

## [Gradle, cmake and assets](https://discuss.gradle.org/t/gradle-cmake-and-assets/52090)

<div class="topic-metadata">

**Author:** [@duron27](https://discuss.gradle.org/u/duron27)\
**Replies:** 9\
**Last updated:** [June 19, 2026, 6:32am UTC](https://discuss.gradle.org/t/gradle-cmake-and-assets/52090 "2026-06-19T06:32:54Z")

</div>

Hello everyone! I have a gradle dsl project that uses cmake to build native libraries. At the very end of the cmakelists.txt it copies all asset files to the actual asset folder (app/src/main/assets) but these never get…

---

## [BuildService lifecycle usage question to bring in more tasks / task actions](https://discuss.gradle.org/t/buildservice-lifecycle-usage-question-to-bring-in-more-tasks-task-actions/52097)

<div class="topic-metadata">

**Author:** [@tkrah](https://discuss.gradle.org/u/tkrah)\
**Replies:** 10\
**Last updated:** [June 19, 2026, 6:21am UTC](https://discuss.gradle.org/t/buildservice-lifecycle-usage-question-to-bring-in-more-tasks-task-actions/52097 "2026-06-19T06:21:48Z")

</div>

Hi, after Build lifecylce question / task ordering with org.gradle.workers.max \> 1 - #19 by tkrah most of my test tasks are running like expected, happy with that. But I’ve got one test scenario which I could need some…

---

## [Best Practice To Enable Incremental Build](https://discuss.gradle.org/t/best-practice-to-enable-incremental-build/52093)

<div class="topic-metadata">

**Author:** [@patient-developer](https://discuss.gradle.org/u/patient-developer)\
**Replies:** 11\
**Last updated:** [June 17, 2026, 1:31pm UTC](https://discuss.gradle.org/t/best-practice-to-enable-incremental-build/52093 "2026-06-17T13:31:32Z")

</div>

Hi, I have a project which fetches proto-files from another repository in order to be able to generate a gRPC-client. This behaviour is summarized in a custom task, which is readily available in my public repository as…

---

## [Build lifecylce question / task ordering with org.gradle.workers.max \> 1](https://discuss.gradle.org/t/build-lifecylce-question-task-ordering-with-org-gradle-workers-max-1/52076)

<div class="topic-metadata">

**Author:** [@tkrah](https://discuss.gradle.org/u/tkrah)\
**Replies:** 18\
**Last updated:** [June 16, 2026, 3:04pm UTC](https://discuss.gradle.org/t/build-lifecylce-question-task-ordering-with-org-gradle-workers-max-1/52076 "2026-06-16T15:04:00Z")

</div>

Hi, coming from non parallel task execution, before configuration cache was a thing, I got some tasks which need some external stuff running (which I do spawn and shutdown via dependsOn + finalizers), that worked fine s…

---

## [Prevent repeated compilation of generated code](https://discuss.gradle.org/t/prevent-repeated-compilation-of-generated-code/52084)

<div class="topic-metadata">

**Author:** [@patient-developer](https://discuss.gradle.org/u/patient-developer)\
**Replies:** 4\
**Last updated:** [June 16, 2026, 9:21am UTC](https://discuss.gradle.org/t/prevent-repeated-compilation-of-generated-code/52084 "2026-06-16T09:21:13Z")

</div>

Hi Team, I am seeking help for an issue pretty similar to this one: Cannot access compiled protobuf java class from one project in src/test of another project. Since code says more than a thousand words, I prepared the…

---

## [Windows: Best way to have GRADLE\_USER\_HOME outside of user directory but still have credentials inside %userprofile%](https://discuss.gradle.org/t/windows-best-way-to-have-gradle-user-home-outside-of-user-directory-but-still-have-credentials-inside-userprofile/52081)

<div class="topic-metadata">

**Author:** [@TheBatOutOfHell](https://discuss.gradle.org/u/TheBatOutOfHell)\
**Replies:** 4\
**Last updated:** [June 11, 2026, 12:58pm UTC](https://discuss.gradle.org/t/windows-best-way-to-have-gradle-user-home-outside-of-user-directory-but-still-have-credentials-inside-userprofile/52081 "2026-06-11T12:58:50Z")

</div>

Hello. To save my Windows %userprofile% from gb of data I have set GRADLE\_USER\_HOME somewhere outside, say C:\\MyGradleHome. Now I need to add credentials (e.g. username, pwd for artifactory) to gradle.properties locate…

---

## [Missing properties in POM files of plugins.gradle.org/m2](https://discuss.gradle.org/t/missing-properties-in-pom-files-of-plugins-gradle-org-m2/52072)

<div class="topic-metadata">

**Author:** [@G00fY2](https://discuss.gradle.org/u/G00fY2)\
**Replies:** 1\
**Last updated:** [June 10, 2026, 2:57pm UTC](https://discuss.gradle.org/t/missing-properties-in-pom-files-of-plugins-gradle-org-m2/52072 "2026-06-10T14:57:47Z")

</div>

Today Kotlin 2.4.0 was released. We use Renovate as an Dependency Automation tool. Usually Renovate detects Kotlin updates inside it’s monorepo default rule by looking up the SCM url inside the POM. But it seems like on…

---

## [Getting the error while building the android](https://discuss.gradle.org/t/getting-the-error-while-building-the-android/50372)

<div class="topic-metadata">

**Author:** [@npk264](https://discuss.gradle.org/u/npk264)\
**Replies:** 10\
**Last updated:** [June 8, 2026, 2:38pm UTC](https://discuss.gradle.org/t/getting-the-error-while-building-the-android/50372 "2026-06-08T14:38:53Z")

</div>

\* Where: Settings file '/Users/{userid}/Documents/{app}/node\_modules/@react-native/gradle-plugin/settings.gradle.kts' line: 16 \* What went wrong: Plugin \[id: 'org.gradle.toolchains.foojay-resolver-convention', version: …

---

## [IP-safe partial cross-project information aggregation with tracked outputs](https://discuss.gradle.org/t/ip-safe-partial-cross-project-information-aggregation-with-tracked-outputs/52075)

<div class="topic-metadata">

**Author:** [@TJakubec](https://discuss.gradle.org/u/TJakubec)\
**Replies:** 0\
**Last updated:** [June 8, 2026, 1:36pm UTC](https://discuss.gradle.org/t/ip-safe-partial-cross-project-information-aggregation-with-tracked-outputs/52075 "2026-06-08T13:36:30Z")

</div>

Hello, we have a Gradle 9.5.1 multi-project build using Kotlin DSL and migrating to Isolated Projects. Some subprojects have: taskA: scans local annotation metadata. taskB: depends on taskA and is the usual partial-bu…

---

## [Deprecation of build-file for specifying a custom build file location in 8.0](https://discuss.gradle.org/t/deprecation-of-build-file-for-specifying-a-custom-build-file-location-in-8-0/41244)

<div class="topic-metadata">

**Author:** [@bobswift](https://discuss.gradle.org/u/bobswift)\
**Replies:** 7\
**Last updated:** [June 4, 2026, 3:46pm UTC](https://discuss.gradle.org/t/deprecation-of-build-file-for-specifying-a-custom-build-file-location-in-8-0/41244 "2026-06-04T15:46:39Z")

</div>

Specifying custom build file location has been deprecated. This is scheduled to be removed in Gradle 8.0. Consult the upgrading guide for further information: Upgrading your build from Gradle 7.x to the latest There d…

---

## [Order of arguments in Copy.filter](https://discuss.gradle.org/t/order-of-arguments-in-copy-filter/52069)

<div class="topic-metadata">

**Author:** [@emenommie9](https://discuss.gradle.org/u/emenommie9)\
**Replies:** 2\
**Last updated:** [May 30, 2026, 7:04pm UTC](https://discuss.gradle.org/t/order-of-arguments-in-copy-filter/52069 "2026-05-30T19:04:43Z")

</div>

Hi, I’m learning the basics of gradle and groovy and I’m a bit confused about the documentation for the filter method for the Copy task. I hope someone can explain! For the method overload: AbstractCopyTask filter(Map\<…

---

## [Dependency configuration with multiple roles?](https://discuss.gradle.org/t/dependency-configuration-with-multiple-roles/52064)

<div class="topic-metadata">

**Author:** [@pkeller](https://discuss.gradle.org/u/pkeller)\
**Replies:** 4\
**Last updated:** [May 28, 2026, 9:46am UTC](https://discuss.gradle.org/t/dependency-configuration-with-multiple-roles/52064 "2026-05-28T09:46:47Z")

</div>

I am using the following idiom to include some asciidoctor-generated docs in a distribution. In the asciidoctor project I have: val docs by configurations.registering { isCanBeConsumed = true isCanBeResolved = f…

---

## [Java project with native dependencies with gradle 9](https://discuss.gradle.org/t/java-project-with-native-dependencies-with-gradle-9/52049)

<div class="topic-metadata">

**Author:** [@user12345](https://discuss.gradle.org/u/user12345)\
**Replies:** 2\
**Last updated:** [May 26, 2026, 2:51pm UTC](https://discuss.gradle.org/t/java-project-with-native-dependencies-with-gradle-9/52049 "2026-05-26T14:51:07Z")

</div>

Hi, I have a project, which consists of many native .dll/.so files and executable files, which I am moving from ant to gradle. The project is structured into multiple modules, which are composed differently for differe…

---

## [Libs.version.toml documentation confusion](https://discuss.gradle.org/t/libs-version-toml-documentation-confusion/52056)

<div class="topic-metadata">

**Author:** [@Martin\_d\_Anjou](https://discuss.gradle.org/u/Martin_d_Anjou)\
**Replies:** 1\
**Last updated:** [May 23, 2026, 10:24am UTC](https://discuss.gradle.org/t/libs-version-toml-documentation-confusion/52056 "2026-05-23T10:24:48Z")

</div>

On this page Structuring Multi-Project Builds the diagram shows a libs.version.toml file at the top of the git repository. On this other page Version Catalogs, the libs.version.toml file is under the gradle/ folder. Is…

---

## [jacocoTestReport consistently skipped for custom test tasks but not standard test task](https://discuss.gradle.org/t/jacocotestreport-consistently-skipped-for-custom-test-tasks-but-not-standard-test-task/48010)

<div class="topic-metadata">

**Author:** [@MrCreosote](https://discuss.gradle.org/u/MrCreosote)\
**Replies:** 8\
**Last updated:** [May 13, 2026, 6:23am UTC](https://discuss.gradle.org/t/jacocotestreport-consistently-skipped-for-custom-test-tasks-but-not-standard-test-task/48010 "2026-05-13T06:23:35Z")

</div>

Hi, It appears that jacocoTestReport is always skipped for custom test tasks, e.g. test tasks not named test. Here’s an example (edited for relevance) test setup: tasks.withType(Test) { forkEvery = 1 finalizedBy jaco…

---

## [Hoes does Copy work?](https://discuss.gradle.org/t/hoes-does-copy-work/52039)

<div class="topic-metadata">

**Author:** [@sjhughes41](https://discuss.gradle.org/u/sjhughes41)\
**Replies:** 4\
**Last updated:** [May 12, 2026, 6:08am UTC](https://discuss.gradle.org/t/hoes-does-copy-work/52039 "2026-05-12T06:08:39Z")

</div>

I have a Copy task that insists on copying every file from every subproject into my output folder. task copyIt(type: Copy) { def projectPath = projectDir.absolutePath def modsDir = "${buildDir}\\\\Program Files\\\\mods…

[Previous page](https://discuss.gradle.org/c/help-discuss/14.md)

[Next page](https://discuss.gradle.org/c/help-discuss/14.md?page=2)
