Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8862

Dependency on io.grpc-all allows test-only dependencies on runtimeClasspath

Details

    • Wish
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.25.0
    • io-java-gcp
    • None

    Description

      The java-io-gcp module (maybe others too) has a compile dependency on io.grpc-all, which includes io.grpc-testing. This allows test-only dependencies (such as junit, mockito, and hamcrest etc) to get on compileClasspath and runtimeClasspath in downstream users. In our project we have to explicitly exclude them so that they do not get added to the release artifacts.

      Is it possible for your module to exclude io.grpc-testing from compile?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weiminyu Weimin Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: