Test, validate and match regular expressions
Matches Gradle dependency declarations in Groovy build files across three common syntaxes: the map notation (`compile group: 'x', name: 'y', version: 'z'`), the plain string notation (`compile 'x:y:z'`), and the function call notation (`implementation('x:y:z')`). It captures the configuration keyword (compile, testCompile, implementation, compileOnly, runtime, etc., or any custom configuration identifier) along with the groupId, artifactId, and version. Useful for extracting, auditing, or migrating dependencies from build.gradle files.