GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — material-components-android/docs/building-from-source.md at master · FHendro/material-components-android

Expand file tree

/

building-from-source.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
47 lines (38 loc) · 1.58 KB
/

building-from-source.md

Copy path

File metadata and controls

47 lines (38 loc) · 1.58 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Building From the Latest Source

If you'll be contributing to the library, or need a version newer than what has been released, Material Components for Android can also be built from source. To do so:

Clone the repository:

git clone https://github.com/material-components/material-components-android.git

Then, build the library's AARs using Gradle:

./gradlew uploadArchives -PmavenRepoUrl="file://localhost/<path_to_aars>"

This will output AARs and Maven artifacts for each of the library's modules to the path on your machine, e.g., $HOME/Desktop/material_aars.

To use the AARs in your app locally, copy the output from your AAR directory into your local Maven repository (~/.m2/repository). Then add mavenLocal() as a repository in your project's top-level build.gradle file. Finally, add the Design Library dependency as you would normally, using the version specified as mdcLibraryVersion in the library's top-level build.gradle file.

Useful Links

  • Getting Started
  • Contributing
  • Catalog App
  • Class documentation
  • MDC-Android on Stack Overflow
  • Android Developer’s Guide
  • Material.io
  • Material Design Guidelines
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.