mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-05 13:25:43 +00:00
nix/deps/gradle: include Gradle targets with numbers in names
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 <jakub@status.im>
This commit is contained in:
parent
e5b7fb13a1
commit
6d43f34cf8
@ -17,7 +17,7 @@ function findPackage(line, regex) {
|
|||||||
# Gradle outputs dependencies in groups defined by configurations.
|
# Gradle outputs dependencies in groups defined by configurations.
|
||||||
# Those configurations are words followed by a dash and a description.
|
# Those configurations are words followed by a dash and a description.
|
||||||
# There's also a special 'classpath' configuration we want.
|
# There's also a special 'classpath' configuration we want.
|
||||||
/^(classpath|[a-zA-Z]+)( - .*)?$/ {
|
/^(classpath|[a-zA-Z0-9]+)( - .*)?$/ {
|
||||||
# Ignore configurations starting with 'test'
|
# Ignore configurations starting with 'test'
|
||||||
if (tolower($1) ~ /^test/) {
|
if (tolower($1) ~ /^test/) {
|
||||||
next
|
next
|
||||||
|
Loading…
x
Reference in New Issue
Block a user