Last active
February 29, 2024 18:50
-
-
Save souvikhazra1/65782bf89dcc39618f46acd3ea2c0202 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
id 'custom-io.objectbox.objectbox-gradle-plugin' version '3.2.0' apply false |
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
pluginManagement { | |
.... | |
resolutionStrategy { | |
eachPlugin { | |
if (requested.id.namespace != null && requested.id.namespace.startsWith('custom-')) { | |
useModule("${requested.id.namespace.substring(7)}:${requested.id.name}:${requested.version}") | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple way to load gradle plugins which doesn't support the new plugins syntax.