Skip to content

Instantly share code, notes, and snippets.

@igorescodro
Last active April 5, 2023 10:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorescodro/bf94cba44a9334c9a240b68ae211a823 to your computer and use it in GitHub Desktop.
Save igorescodro/bf94cba44a9334c9a240b68ae211a823 to your computer and use it in GitHub Desktop.
plugins {
id("com.android.library")
}
// Manually get the reference for "libs"
val libs: VersionCatalog =
extensions.getByType<VersionCatalogsExtension>().named("libs")
dependencies {
// Use the extension function to access the dependency
implementation(libs.android.appcompat)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment