Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions show as unused when only used outside of a dependency context #25

Open
jsoberg opened this issue Jun 23, 2023 · 1 comment
Open

Comments

@jsoberg
Copy link

jsoberg commented Jun 23, 2023

For versions that aren't used in dependencies, and are instead only used directly in build.gradle.kts files, the linking to libs.versions.toml works fine but the version shows as being unused in the version catalog.

As an example, I have a composeKotlinCompiler version in my catalog, and I only end up using it directly in build.gradle.kts or convention plugins like so:

android {
    buildFeatures.compose = true
    composeOptions {
        kotlinCompilerExtensionVersion = libs.versions.composeKotlinCompiler.get()
    }
}

and seemingly because of that, this version shows as unused in the libs.versions.toml view.

Side-note: Thanks so much for the plugin, much appreciated!

@5peak2me
Copy link
Contributor

5peak2me commented Jul 6, 2023

That seems to work fine in my case.
WX20230706-113833
WX20230706-113903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants