Skip to content

Instantly share code, notes, and snippets.

@souvikhazra1
Last active February 29, 2024 18:50
Show Gist options
  • Save souvikhazra1/65782bf89dcc39618f46acd3ea2c0202 to your computer and use it in GitHub Desktop.
Save souvikhazra1/65782bf89dcc39618f46acd3ea2c0202 to your computer and use it in GitHub Desktop.
id 'custom-io.objectbox.objectbox-gradle-plugin' version '3.2.0' apply false
pluginManagement {
....
resolutionStrategy {
eachPlugin {
if (requested.id.namespace != null && requested.id.namespace.startsWith('custom-')) {
useModule("${requested.id.namespace.substring(7)}:${requested.id.name}:${requested.version}")
}
}
}
}
@souvikhazra1
Copy link
Author

Simple way to load gradle plugins which doesn't support the new plugins syntax.

@hh-ahmad
Copy link

hh-ahmad commented Feb 29, 2024

Its works. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment