redhat-developer / redhat-developer/vscode-java
Support additional Gradle configurations
Open
@testforstephen is already working on this.
Since Feb 22, 2021.
Gradle
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Our projects often times have integration tests and we use a Gradle configuration called integrationTest. The source for these tests is usually located in a src/integrationTest/java directory. Example:
my-subproject/
build.gradle
src/
integrationTest/
java/
com/ ...
main/
java/
com/ ...
build.gradle
settings.gradle
In my-subproject/build.gradle the dependencies are defined akin to
dependencies {
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
integrationTestImplementation 'org.junit.jupiter:junit-jupiter'
}
Right now, this means that IntelliSense will not be able to find symbols from the junit-jupiter dependency while editing code in the integrationTest directory. It appears to treat these source files as part of the default configuration.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.