grpc-all: use api configuration for dependencies

Use `api` configuration instead of `implementation` for grpc-all to avoid breaking users.
This commit is contained in:
ZHANG Dapeng 2020-05-11 09:48:33 -07:00 committed by GitHub
parent 61938bd032
commit 7b3b9a2fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
plugins { plugins {
id "java" id "java-library"
id "maven-publish" id "maven-publish"
id "com.github.kt3k.coveralls" id "com.github.kt3k.coveralls"
@ -32,7 +32,7 @@ for (subproject in rootProject.subprojects) {
} }
dependencies { dependencies {
implementation subprojects.minus(project(':grpc-protobuf-lite')) api subprojects.minus(project(':grpc-protobuf-lite'))
} }
javadoc { javadoc {