gradle-version-catalogs-intellij-plugin
gradle-version-catalogs-intellij-plugin copied to clipboard
Versions show as unused when only used outside of a dependency context
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!