gradlebuild.gradle

Need help understanding this Gradle dependency


In this build.gradle it specifies

dependencies {
    compile project(':grpc-core'),
            libraries.netty,
            libraries.netty_proxy_handler

Where do the two libraries mentioned get used from?


Solution

  • The libraries object is defined in the root build.gradle.

    It uses the subprojects block to run code that applies to all subprojects, which includes the subproject you are focused on.