Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[major] [bug] Gradle projects add test compile path in the launcher configuration

Open
#507 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
devtools

Research direction

Start by running the attached micrometer-demo.zip Gradle project and inspecting the generated launcher argument file. Trace where the class path containing bin/main and bin/test is assembled; done means the test compile path is not added when launching the application, so test-only resources no longer interfere.

Written by the indexing model from the issue text.

Description

ai-triaged bug external

Run the attached project, and when checking the arg file, we can see that the bin/test is added into class path which cause issues when there are different resource files for testing purpose in applications.

micrometer-demo.zip

-cp "/Users/home/micrometer-demo/bin/main:/Users/home/micrometer-demo/bin/test:...
Dominant language
Java
Stars
409
Forks
204
Avg merge
1d 13h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/java-debug

All issues in microsoft/java-debug

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.