Skip to content

Commit

Permalink
Declare volley-cronet's dependency on volley as an "api" dependency. (#…
Browse files Browse the repository at this point in the history
…425)

Matches recommendation at https://docs.gradle.org/current/userguide/java_library_plugin.html. The effect is that apps depending on volley-cronet don't also need to depend on volley. This makes sense, since CronetHttpStack's public API depends on multiple Volley classes and can't be used in isolation.
  • Loading branch information
jpd236 authored Aug 10, 2021
1 parent 6090236 commit b4a913f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cronet/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
implementation project(":core")
api project(":core")
compileOnly "androidx.annotation:annotation:1.0.1"
compileOnly "org.chromium.net:cronet-embedded:76.3809.111"

Expand Down

0 comments on commit b4a913f

Please sign in to comment.