# \#not-a-bug

**URL:** https://discuss.gradle.org/tag/not-a-bug/199.md

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

---

## [Incremental-friendly aspectj bytecode weaving](https://discuss.gradle.org/t/incremental-friendly-aspectj-bytecode-weaving/22274)

<div class="topic-metadata">

**Author:** [@Sam1](https://discuss.gradle.org/u/Sam1)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 12:14am UTC](https://discuss.gradle.org/t/incremental-friendly-aspectj-bytecode-weaving/22274 "2023-02-08T00:14:00Z")

</div>

I've found this aspectj plugin not to work very well and have been looking to replace it. The idea I've been pursuing is to stick a weave task between the compile and classes tasks of the java plugin. The weave task in…

---

## [Groovy syntax assignation](https://discuss.gradle.org/t/groovy-syntax-assignation/43751)

<div class="topic-metadata">

**Author:** [@rivancic](https://discuss.gradle.org/u/rivancic)\
**Replies:** 1\
**Last updated:** [August 25, 2022, 3:54pm UTC](https://discuss.gradle.org/t/groovy-syntax-assignation/43751 "2022-08-25T15:54:35Z")

</div>

You can assign value to a property of a Gradle API class in two ways thanks to Groovy syntax (Is my assumption correct?). I see Gradle uses equals assign operator consistently through the examples (Testing in Java & JVM …

---

## [Defining a composite build only to build all subprojects](https://discuss.gradle.org/t/defining-a-composite-build-only-to-build-all-subprojects/25070)

<div class="topic-metadata">

**Author:** [@as.mezhov](https://discuss.gradle.org/u/as.mezhov)\
**Replies:** 11\
**Last updated:** [September 14, 2021, 2:41pm UTC](https://discuss.gradle.org/t/defining-a-composite-build-only-to-build-all-subprojects/25070 "2021-09-14T14:41:28Z")

</div>

Hello! Recently I read the article about composite builds and realized that it is what I need. But I haven’t had any success with it so I need your professional help. I have a project which components are located in se…

---

## [Cross-compilation with Gradle and the new C++ plugins](https://discuss.gradle.org/t/cross-compilation-with-gradle-and-the-new-c-plugins/37054)

<div class="topic-metadata">

**Author:** [@nicolas06](https://discuss.gradle.org/u/nicolas06)\
**Replies:** 0\
**Last updated:** [July 28, 2020, 3:51pm UTC](https://discuss.gradle.org/t/cross-compilation-with-gradle-and-the-new-c-plugins/37054 "2020-07-28T15:51:04Z")

</div>

Hi, Any update on cross-compilation with Gradle and the new C++ plugins? And more specifically how to set another instance of GCC/G++ (e.g. for ARM) instead of the default for x86\_64? I have been using cross-compilation…

---

## [Chicken/egg issue with dependency configuration setup and "task configuration avoidance"](https://discuss.gradle.org/t/chicken-egg-issue-with-dependency-configuration-setup-and-task-configuration-avoidance/34944)

<div class="topic-metadata">

**Author:** [@Learner](https://discuss.gradle.org/u/Learner)\
**Replies:** 22\
**Last updated:** [February 29, 2020, 1:46am UTC](https://discuss.gradle.org/t/chicken-egg-issue-with-dependency-configuration-setup-and-task-configuration-avoidance/34944 "2020-02-29T01:46:46Z")

</div>

I hit a snag while trying to migrate to Gradle 6.1.1 (from 5.6.4) and as a part of that effort, implement configuration avoidance changes. Here’s a simple recap of what happens in otherwise a very complex multi-project …

---

## [Are we using platforms the right way?](https://discuss.gradle.org/t/are-we-using-platforms-the-right-way/34959)

<div class="topic-metadata">

**Author:** [@moley](https://discuss.gradle.org/u/moley)\
**Replies:** 1\
**Last updated:** [February 20, 2020, 6:08am UTC](https://discuss.gradle.org/t/are-we-using-platforms-the-right-way/34959 "2020-02-20T06:08:44Z")

</div>

Hi, we are maintaining an ee framework for our internal projects. This framework is splitted in different bitbucket repos (framework, frameworkcore, frameworkservice) and is used in different projects. Every repo conta…

---

## [Status of new native plugins](https://discuss.gradle.org/t/status-of-new-native-plugins/30249)

<div class="topic-metadata">

**Author:** [@bernon6](https://discuss.gradle.org/u/bernon6)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 1:17pm UTC](https://discuss.gradle.org/t/status-of-new-native-plugins/30249 "2019-09-12T13:17:05Z")

</div>

Hi, This is my first post to this forum so my apologies if this is the wrong channel. I’m curious to the status of the new native plugins, in particular cpp-application, cpp-library and cpp-unit-tests. The last post I…

---

## [Minimizing copy and paste build.gradle code between projects](https://discuss.gradle.org/t/minimizing-copy-and-paste-build-gradle-code-between-projects/32010)

<div class="topic-metadata">

**Author:** [@mdelaney](https://discuss.gradle.org/u/mdelaney)\
**Replies:** 5\
**Last updated:** [June 10, 2019, 4:13pm UTC](https://discuss.gradle.org/t/minimizing-copy-and-paste-build-gradle-code-between-projects/32010 "2019-06-10T16:13:23Z")

</div>

I have a monolith repo that I’m breaking up into \> 6 repos. I want to enable a simple set of plugins like Checkstyle, FindBugs, and PMD between all repos; and share the same configuration. I’m pretty new to Gradle so I…

---

## [ENH REQUEST: Gradle wrapper pointer for latest version of gradle](https://discuss.gradle.org/t/enh-request-gradle-wrapper-pointer-for-latest-version-of-gradle/28083)

<div class="topic-metadata">

**Author:** [@aram535](https://discuss.gradle.org/u/aram535)\
**Replies:** 2\
**Last updated:** [April 4, 2019, 7:59am UTC](https://discuss.gradle.org/t/enh-request-gradle-wrapper-pointer-for-latest-version-of-gradle/28083 "2019-04-04T07:59:56Z")

</div>

It’s easy to install gradle using sdk, brew, etc and it’ll just by default grab the latest version of gradle. However, when you’re using the wrapper already there is no way to ask for the latest version. It would be gr…

---

## [Build Java/Kotlin project from C++](https://discuss.gradle.org/t/build-java-kotlin-project-from-c/31226)

<div class="topic-metadata">

**Author:** [@Mario1159](https://discuss.gradle.org/u/Mario1159)\
**Replies:** 0\
**Last updated:** [April 1, 2019, 9:36pm UTC](https://discuss.gradle.org/t/build-java-kotlin-project-from-c/31226 "2019-04-01T21:36:01Z")

</div>

I have a LibGDX game which im developing in IntelliJ IDEA and now i’m making a C++ (Qt) UI to modify my game, like a game engine. So now i want to build and run my project from my C++ project, similar to the IntelliJ bu…

---

## [Gradle versioning regex syntax](https://discuss.gradle.org/t/gradle-versioning-regex-syntax/31081)

<div class="topic-metadata">

**Author:** [@exocore123](https://discuss.gradle.org/u/exocore123)\
**Replies:** 0\
**Last updated:** [March 22, 2019, 5:58pm UTC](https://discuss.gradle.org/t/gradle-versioning-regex-syntax/31081 "2019-03-22T17:58:31Z")

</div>

Hello gradle community, I have encountered an issue with artifactory as it seems like there are some faulty naming conventions in our enterprise that is causing my build script to faulty version that does not correctly …

---

## [How to output stderr in the cmd console stream?](https://discuss.gradle.org/t/how-to-output-stderr-in-the-cmd-console-stream/30538)

<div class="topic-metadata">

**Author:** [@aleksey\_p](https://discuss.gradle.org/u/aleksey_p)\
**Replies:** 1\
**Last updated:** [February 21, 2019, 4:36am UTC](https://discuss.gradle.org/t/how-to-output-stderr-in-the-cmd-console-stream/30538 "2019-02-21T04:36:20Z")

</div>

My tests run like this gradlew testAll -Ptarget=local clean test 1\>out.log 2\>err.log but output in the err.log doesn’t meet my requirements. I want to see all failed tests like in html report. How i can resolve it with…

---

## [How do I bundle javadoc/sources in Kotlin projects?](https://discuss.gradle.org/t/how-do-i-bundle-javadoc-sources-in-kotlin-projects/30672)

<div class="topic-metadata">

**Author:** [@xenoterracide](https://discuss.gradle.org/u/xenoterracide)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 1:40am UTC](https://discuss.gradle.org/t/how-do-i-bundle-javadoc-sources-in-kotlin-projects/30672 "2019-02-21T01:40:24Z")

</div>

here’s what Ive tried, but I’ve reason to believe that the source jar created is probably empty, or somehow otherwise not correct. Also my javadoc apparently isn’t being generated correctly project.getExtensions().con…

---

## [Transitive=false behavior in multi module project](https://discuss.gradle.org/t/transitive-false-behavior-in-multi-module-project/30436)

<div class="topic-metadata">

**Author:** [@bneelima84](https://discuss.gradle.org/u/bneelima84)\
**Replies:** 0\
**Last updated:** [February 4, 2019, 5:35am UTC](https://discuss.gradle.org/t/transitive-false-behavior-in-multi-module-project/30436 "2019-02-04T05:35:45Z")

</div>

In a multi module project, if projectA has dependency on x with transitive=false and projectB has dependency on x with no value set to transitive property, how does Gradle resolve which one to consider for x (as the t…

---

## [How to explain the concept of Configuration?](https://discuss.gradle.org/t/how-to-explain-the-concept-of-configuration/30424)

<div class="topic-metadata">

**Author:** [@iwantthink](https://discuss.gradle.org/u/iwantthink)\
**Replies:** 1\
**Last updated:** [February 4, 2019, 12:20am UTC](https://discuss.gradle.org/t/how-to-explain-the-concept-of-configuration/30424 "2019-02-04T00:20:09Z")

</div>

What is the configuration ? Im confused about the difference between configuration and dependencies… Can someone help me with that?

---

## [Plugin for dependency shortnames](https://discuss.gradle.org/t/plugin-for-dependency-shortnames/30333)

<div class="topic-metadata">

**Author:** [@xenoterracide](https://discuss.gradle.org/u/xenoterracide)\
**Replies:** 0\
**Last updated:** [January 26, 2019, 10:00pm UTC](https://discuss.gradle.org/t/plugin-for-dependency-shortnames/30333 "2019-01-26T22:00:54Z")

</div>

I’m trying to write a plugin where instead of using long GAV, I can simply write the artifact, or some other short name I’ve defined. so instead of dependencies { implementation("org.immutables:value") implement…

---

## [Execution failed for task ':relocateMainForTest': Do not know how to unexport a main symbol on Windows 10 10.0 amd64](https://discuss.gradle.org/t/execution-failed-for-task-relocatemainfortest-do-not-know-how-to-unexport-a-main-symbol-on-windows-10-10-0-amd64/30228)

<div class="topic-metadata">

**Author:** [@zosrothko](https://discuss.gradle.org/u/zosrothko)\
**Replies:** 0\
**Last updated:** [January 19, 2019, 7:47pm UTC](https://discuss.gradle.org/t/execution-failed-for-task-relocatemainfortest-do-not-know-how-to-unexport-a-main-symbol-on-windows-10-10-0-amd64/30228 "2019-01-19T19:47:14Z")

</div>

Hello I got this error: Do not know how to unexport a main symbol on Windows 10 10.0 amd64 for the task ':relocateMainForTest from a build.gradle using the GoogleUnitTest. What do I miss? Here the scan Here the projec…

---

## [Cpp-application and mixed linkage](https://discuss.gradle.org/t/cpp-application-and-mixed-linkage/30250)

<div class="topic-metadata">

**Author:** [@bernon6](https://discuss.gradle.org/u/bernon6)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 9:43pm UTC](https://discuss.gradle.org/t/cpp-application-and-mixed-linkage/30250 "2019-01-22T21:43:23Z")

</div>

Using the “cpp-application” plugin, with a Windows application with multiple libraries, how do you specify that some libraries should be linked statically and others dynamically? I’ve tried using the “linkLibraries” and…

---

## [Adding a plugin with dependencies of a specific maven repository](https://discuss.gradle.org/t/adding-a-plugin-with-dependencies-of-a-specific-maven-repository/29406)

<div class="topic-metadata">

**Author:** [@nicolas-albert](https://discuss.gradle.org/u/nicolas-albert)\
**Replies:** 8\
**Last updated:** [December 13, 2018, 3:15pm UTC](https://discuss.gradle.org/t/adding-a-plugin-with-dependencies-of-a-specific-maven-repository/29406 "2018-12-13T15:15:28Z")

</div>

Hi, I have to make a gradle plugin to use our own builder. This builder have some “common” dependencies (from jcenter) and some other from our own m2 public repository (https://m2.convertigo.com). I tested my plugin by…

---

## [Resolving CppApplication dependencies](https://discuss.gradle.org/t/resolving-cppapplication-dependencies/29552)

<div class="topic-metadata">

**Author:** [@Shahji](https://discuss.gradle.org/u/Shahji)\
**Replies:** 4\
**Last updated:** [December 10, 2018, 11:13am UTC](https://discuss.gradle.org/t/resolving-cppapplication-dependencies/29552 "2018-12-10T11:13:40Z")

</div>

How I do iterate CppApplication dependencies? Also, how do I limit it to include only immediate dependencies and ignore transitive ones? I tried the following and it works for a library but not for application. Set\<Stri…

---

## [Add plugin generated code to sources](https://discuss.gradle.org/t/add-plugin-generated-code-to-sources/29359)

<div class="topic-metadata">

**Author:** [@Shahji](https://discuss.gradle.org/u/Shahji)\
**Replies:** 0\
**Last updated:** [November 5, 2018, 10:10am UTC](https://discuss.gradle.org/t/add-plugin-generated-code-to-sources/29359 "2018-11-05T10:10:10Z")

</div>

What is the correct way to add generated code for compilation with native plugins? I tried this in SourceTask.runTask function and that doesn’t seem to compile the files. val sources: Set\<String\> = TreeSet() source.plu…

---

## [Add Linkage specific macro](https://discuss.gradle.org/t/add-linkage-specific-macro/29358)

<div class="topic-metadata">

**Author:** [@Shahji](https://discuss.gradle.org/u/Shahji)\
**Replies:** 0\
**Last updated:** [November 5, 2018, 9:37am UTC](https://discuss.gradle.org/t/add-linkage-specific-macro/29358 "2018-11-05T09:37:55Z")

</div>

When using cpp-library plugin, how to add linkage specific macro? I see examples adding macros to CppCompile task but I don’t see any way to get the linkage type from task to conditionally branch.

---

## [Selecting between Static and Shared usage](https://discuss.gradle.org/t/selecting-between-static-and-shared-usage/29339)

<div class="topic-metadata">

**Author:** [@Shahji](https://discuss.gradle.org/u/Shahji)\
**Replies:** 2\
**Last updated:** [November 5, 2018, 9:18am UTC](https://discuss.gradle.org/t/selecting-between-static-and-shared-usage/29339 "2018-11-05T09:18:31Z")

</div>

Assuming a “project A” generates both static and shared artifact, how do I select which one to use when consuming // Project A group = "com.whatever" library { linkage = \[ Linkage.SHARED, Linkage.STATIC\] } // Proj…

---

## [jar does not include wsdl dependency](https://discuss.gradle.org/t/jar-does-not-include-wsdl-dependency/29016)

<div class="topic-metadata">

**Author:** [@mariogoz](https://discuss.gradle.org/u/mariogoz)\
**Replies:** 0\
**Last updated:** [October 11, 2018, 8:39am UTC](https://discuss.gradle.org/t/jar-does-not-include-wsdl-dependency/29016 "2018-10-11T08:39:07Z")

</div>

I have a project which has as dependency a client ws, which I consult certain info. but when compiling this it throws me the next exception. Can not find ‘xxxxx.wsdl’ wsdl. Place the resource correctly in the classpath,…

---

## [Auto Generated build folders](https://discuss.gradle.org/t/auto-generated-build-folders/28940)

<div class="topic-metadata">

**Author:** [@rodrigomonge-ge](https://discuss.gradle.org/u/rodrigomonge-ge)\
**Replies:** 3\
**Last updated:** [October 4, 2018, 10:39pm UTC](https://discuss.gradle.org/t/auto-generated-build-folders/28940 "2018-10-04T22:39:29Z")

</div>

We’ve noticed gradle auto generates folders (from what I think is SHA1) when building, like this: Repository/”project\_name”/objs/”component\_name”/static/”component\_name”C/1c3x6nwh709wxjpxk4o9d7nj0 I would like to know …

---

## [Setting system properties before running Serenity-BDD build task](https://discuss.gradle.org/t/setting-system-properties-before-running-serenity-bdd-build-task/28693)

<div class="topic-metadata">

**Author:** [@as-beaulieu](https://discuss.gradle.org/u/as-beaulieu)\
**Replies:** 0\
**Last updated:** [September 19, 2018, 5:14pm UTC](https://discuss.gradle.org/t/setting-system-properties-before-running-serenity-bdd-build-task/28693 "2018-09-19T17:14:43Z")

</div>

I’m trying to use a Serenity-BDD project, but the application is not pulling the CLI arguments of -Denvironment and -Dservicebranches. I have these properties as blank values in my local.properties file, and they’re not …

---

## [Max workers and memory usage](https://discuss.gradle.org/t/max-workers-and-memory-usage/28447)

<div class="topic-metadata">

**Author:** [@wasyl](https://discuss.gradle.org/u/wasyl)\
**Replies:** 4\
**Last updated:** [September 2, 2018, 1:17pm UTC](https://discuss.gradle.org/t/max-workers-and-memory-usage/28447 "2018-09-02T13:17:51Z")

</div>

Hi all, I’m investigating some memory issues with our rather large Android build. I have couple of questions about possible memory usage with different options. From what I understand, org.gradle.workers.max property wi…

---

## [Running integration tests in parallel for each test class, with multiple sub-projects](https://discuss.gradle.org/t/running-integration-tests-in-parallel-for-each-test-class-with-multiple-sub-projects/28100)

<div class="topic-metadata">

**Author:** [@heironeous](https://discuss.gradle.org/u/heironeous)\
**Replies:** 0\
**Last updated:** [August 10, 2018, 1:03pm UTC](https://discuss.gradle.org/t/running-integration-tests-in-parallel-for-each-test-class-with-multiple-sub-projects/28100 "2018-08-10T13:03:42Z")

</div>

Hello Gradle Forums, I’ve been looking around for some time within the forums and the documentation, but I’m not sure exactly how I can achieve what I’m trying to do, and looking for some pointers. I’ve been stuck for s…

---

## [What is the license of a gradle plugins meta-plugin pom.xml?](https://discuss.gradle.org/t/what-is-the-license-of-a-gradle-plugins-meta-plugin-pom-xml/27610)

<div class="topic-metadata">

**Author:** [@lukecwik](https://discuss.gradle.org/u/lukecwik)\
**Replies:** 7\
**Last updated:** [August 13, 2018, 4:23am UTC](https://discuss.gradle.org/t/what-is-the-license-of-a-gradle-plugins-meta-plugin-pom-xml/27610 "2018-08-13T04:23:12Z")

</div>

The new Gradle plugin system relies on a special pom that redirects to the actual plugin. For example: plugins { id "com.diffplug.gradle.spotless" version "3.13.0" } differs from: buildscript { repositories { …

---

## [ISO C/C++ projects using Gradle](https://discuss.gradle.org/t/iso-c-c-projects-using-gradle/26959)

<div class="topic-metadata">

**Author:** [@Joseph\_Fota](https://discuss.gradle.org/u/Joseph_Fota)\
**Replies:** 1\
**Last updated:** [August 10, 2018, 6:54pm UTC](https://discuss.gradle.org/t/iso-c-c-projects-using-gradle/26959 "2018-08-10T18:54:27Z")

</div>

I’m searching for open source projects which are using Gradle for C/C++ builds for examples. Currently, the push is for Bazel because the Gradle C/C++ project does not seem to be gaining acceptance. I am taking the Ma…

[Next page](https://discuss.gradle.org/tag/not-a-bug/199.md?match_all_tags=true&page=1&tags%5B%5D=not-a-bug)
