You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Android and other Gradle configurations (androidTestImplementation, debugImplementation, ksp, testFixturesImplementation) are not read #660
The match is case-sensitive, so any configuration whose name has Implementation with a capital I is missed. In a typical Android or Kotlin module that means these lines are silently dropped from vg scan:
Extend the configuration matching to cover the names above. A pattern such as [a-z][A-Za-z]*(?:Implementation|Api|CompileOnly|RuntimeOnly) plus explicit ksp/kapt*/developmentOnly is one option; keep a word boundary at the start so it does not match inside other identifiers.
Treat androidTest*, test*, testFixtures*, kaptTest, kaptAndroidTest and kspTest as development configurations in isGradleTestConfiguration.
Add a build.gradle.kts fixture for an Android app module that uses each of them.
Acceptance
Each configuration listed above produces a row in vg scan
androidTestImplementation, testFixturesImplementation and kaptTest rows are in devDependencies
Confirmed. GRADLE_CONFIG_NAMES (line 401 of java-scanner.ts) is a fixed, case-sensitive list, so androidTestImplementation, debugImplementation, ksp and friends never match.
Things to watch when widening it:
The same constant feeds the string regex (line 444), the Kotlin regex (line 451) and gradleCatalogUses (line 463), so one change covers all three. Make sure every use still has a boundary before the name, otherwise implementation will start matching inside longer identifiers.
isGradleTestConfiguration (line 349) decides devDependencies; extend it for the androidTest*, testFixtures*, kaptTest, kaptAndroidTest and kspTest names, while keeping debugImplementation and ksp as production.
The duplicate-merge logic around lines 396 and 627 prefers a production configuration over a test one; a fixture with the same coordinate under both implementation and androidTestImplementation is a good regression test.
Activity
vibgrate-team commentedon Nov 12, 2026
Confirmed.
GRADLE_CONFIG_NAMES(line 401 ofjava-scanner.ts) is a fixed, case-sensitive list, soandroidTestImplementation,debugImplementation,kspand friends never match.Things to watch when widening it:
gradleCatalogUses(line 463), so one change covers all three. Make sure every use still has a boundary before the name, otherwiseimplementationwill start matching inside longer identifiers.isGradleTestConfiguration(line 349) decidesdevDependencies; extend it for theandroidTest*,testFixtures*,kaptTest,kaptAndroidTestandkspTestnames, while keepingdebugImplementationandkspas production.implementationandandroidTestImplementationis a good regression test.We'll pick this up from the team side.