From 6d43f34cf87a69cdee0ca935f3ad3b4e85b12840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 25 May 2021 14:33:41 +0200 Subject: [PATCH] nix/deps/gradle: include Gradle targets with numbers in names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes an issue first detected in: https://github.com/status-im/status-react/pull/12141 Which resulted in dependencies being ignored for `react-native-nagivation`. Signed-off-by: Jakub SokoĊ‚owski --- nix/deps/gradle/gradle_parser.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/deps/gradle/gradle_parser.awk b/nix/deps/gradle/gradle_parser.awk index 06b44b16ac..1f15b11e7f 100644 --- a/nix/deps/gradle/gradle_parser.awk +++ b/nix/deps/gradle/gradle_parser.awk @@ -17,7 +17,7 @@ function findPackage(line, regex) { # Gradle outputs dependencies in groups defined by configurations. # Those configurations are words followed by a dash and a description. # There's also a special 'classpath' configuration we want. -/^(classpath|[a-zA-Z]+)( - .*)?$/ { +/^(classpath|[a-zA-Z0-9]+)( - .*)?$/ { # Ignore configurations starting with 'test' if (tolower($1) ~ /^test/) { next