In a multi-project gradle build
, you can have a dependency with another module in your build.
Example:
dependencies {
// Dependency on the "mylibrary" module from this project
compile project(":mylibrary")
}
The compile project(':mylibrary')
line declares a local Android library module named "mylibrary" as a dependency, and requires the build system to compile and include the local module when building your app.