Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
[gax-java] chore: include only external-facing gax testing utils in t…
Browse files Browse the repository at this point in the history
…estlibJar (#1120)

* chore: include only external-facing gax testing utils in testlibJar

* fix: exclude unit tests from sourcesJar
  • Loading branch information
miraleung committed Jun 5, 2020
1 parent acf1fec commit bbd3960
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Expand Up @@ -165,6 +165,8 @@ subprojects {
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource, sourceSets.test.allSource

exclude('**/*Test.java')
}

// JavaDoc
Expand All @@ -190,6 +192,10 @@ subprojects {
task testlibJar(type: Jar, dependsOn: test) {
classifier = 'testlib'
from sourceSets.test.output

include('com/google/api/gax/rpc/testing/**')
include('com/google/api/gax/grpc/testing/**')
include('com/google/api/gax/httpjson/testing/**')
}

// ShadowJar
Expand Down

0 comments on commit bbd3960

Please sign in to comment.