mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-24 00:11:37 +08:00
We have subprojects of :lib: because our internal builds are bazel-based. Gradle does not support more than one project at any level with the same name, which is a staple of bazel-based builds, so gradle projects have to be renamed in runtime to include their whole path (see settings.gradle). Furthermore since every node includes the path up until that node in its name, writing dependencies can get tedious, for this purpose there is a new method in build.gradle called getTransformedProjectPath which takes /-separated project path and turns it into the correct project path, after the rename. This also updates versions for TargetSdk and SupportLibrary to 26, which is required by the newer code. PiperOrigin-RevId: 169457686