redhat-developer / redhat-developer/vscode-java

Support additional Gradle configurations

Đang mở
#1,809 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@testforstephen đang làm issue này rồi.

Từ ngày 22/2/2021.

Gradle
Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
546
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.