Skip to content

Instantly share code, notes, and snippets.

@halilozercan
Created September 3, 2021 21:07
Show Gist options
  • Save halilozercan/ea812fba1dc08cfb1cf1f9f1b36e20e1 to your computer and use it in GitHub Desktop.
Save halilozercan/ea812fba1dc08cfb1cf1f9f1b36e20e1 to your computer and use it in GitHub Desktop.
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