Last active
April 5, 2023 10:11
-
-
Save igorescodro/bf94cba44a9334c9a240b68ae211a823 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
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