Created
October 11, 2025 17:49
-
-
Save hakanai/688069b708b5694b7f7c8b95d0f02ebb to your computer and use it in GitHub Desktop.
Is there a more streamlined way to boot Material 2 out of the project?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is the sort of thing that should be in `settings.gradle.kts`, but there's no API for it yet. | |
| // I could boot it out into `buildSrc`, but for now it lives here. | |
| allprojects { | |
| configurations.all { | |
| resolutionStrategy { | |
| dependencySubstitution { | |
| substitute(module("org.jetbrains.compose.material:material")) | |
| .because("Material 3 is shinier") | |
| .using(module(compose.dependencies.material3)) | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment