Created
September 3, 2021 21:07
-
-
Save halilozercan/ea812fba1dc08cfb1cf1f9f1b36e20e1 to your computer and use it in GitHub Desktop.
This file contains 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
configurations.all { | |
resolutionStrategy.eachDependency { DependencyResolveDetails details -> | |
if (details.requested.group.contains('org.jetbrains.compose')) { | |
def groupName = details.requested.group.replace("org.jetbrains.compose", "androidx.compose") | |
details.useTarget( | |
[group: groupName, name: details.requested.name, version: details.requested.version] | |
) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment