mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
11 lines
393 B
Kotlin
11 lines
393 B
Kotlin
package extension
|
|
|
|
import org.gradle.api.artifacts.VersionCatalog
|
|
|
|
private fun VersionCatalog.getVersion(alias: String) = findVersion(alias).get()
|
|
|
|
private fun VersionCatalog.getLibrary(library: String) = findLibrary(library).get()
|
|
|
|
private fun VersionCatalog.getBundle(bundle: String) = findBundle(bundle).get()
|
|
|
|
private fun VersionCatalog.getPlugin(plugin: String) = findPlugin(plugin).get() |