If you would like to depend on the cutting edge version of the MDC-Android library, you can use the snapshot versions that are published daily via GitHub Packages.
To do so, you need to
create a GitHub access token,
and add the following to your build.gradle
Maven repositories:
maven {
name = "MaterialSnapshots"
url = uri("https://maven.pkg.github.com/material-components/material-components-android")
credentials {
username = <github_username>
password = <github_access_token>
}
}
Then you can use a snapshot version by adding a
com.google.android.material:material:1.3.0-dev-<date>
dependency as per usual,
replacing <date>
with the date of the version you are interested in (see all
versions
here).
See the offical doc on
Configuring Gradle for use with GitHub Packages
for additional information.
Alternatively, you could use JitPack to generate library releases based on specific commits.