Created
March 29, 2024 20:52
-
-
Save SergeiMikhailovskii/3f15c3d8be47d3f97fae7cc8aa0d637f 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
internal fun ExtensionContainer.getPluginId(alias: String): String = | |
getByType<VersionCatalogsExtension>().named("libs").findPlugin(alias).get().get().pluginId | |
internal fun ExtensionContainer.getVersion(alias: String): String = | |
getByType<VersionCatalogsExtension>().named("libs").findVersion(alias).get().toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment