redhat-developer / redhat-developer/vscode-java
Support additional Gradle configurations
Offen
@testforstephen arbeitet bereits daran.
Seit 22.2.2021.
Gradle
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.