dependabot-gradle 0.242.1 → 0.244.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ad1859b180fea3c75c21600f3d2ca8f391538f639e2607d1d8dcb8150102196
4
- data.tar.gz: 5f3a10c7b6b7706c3d31b503d86efdaba7120e2e23da753c25e0fe176d4f635a
3
+ metadata.gz: b36a5464efb9baff3c198039501dd91b04b5db5e46f690ff3404fcab49f36591
4
+ data.tar.gz: 6c174ddce38d074b32111fb3840a285f3995a67a5980d34f61de273776a7d750
5
5
  SHA512:
6
- metadata.gz: 428fdc2c18b134112370a3178b6bdf21bfc54cb3f1b3b849c5058ef516a90becad7fc3ed6fb8848fc4743e809e7073c52f9757ccc595529fffd81f21076ee5d5
7
- data.tar.gz: 8eb230db62fb8dafc1714575c7f2610e756d028b5c710284102f8ec61039eb6bfdec5e76f8cdd3d09fe8d2e6775a2a5bbcde8ce9d055e3b5f0a48437bfa5e7ed
6
+ metadata.gz: 9fc691aa983400175fe18c74dafae5414636727eb7fa18ad9e58ec895373781a3c17207c3bec1ef6dee1f60505f87cac037eee72714de3a62cb147137644fd08
7
+ data.tar.gz: 83accb1ed19bf1aea84cd2933bfe219871d359104f5e84fdc50dbc781dc3641bb1fae9151d25ced3d52a14b824c161a891079d7226783c6603b98417fb26da6f
@@ -20,7 +20,7 @@ module Dependabot
20
20
  SUPPORTED_SETTINGS_FILE_NAMES =
21
21
  %w(settings.gradle settings.gradle.kts).freeze
22
22
 
23
- # For now Gradle only supports libray .toml files in the main gradle folder
23
+ # For now Gradle only supports library .toml files in the main gradle folder
24
24
  SUPPORTED_VERSION_CATALOG_FILE_PATH =
25
25
  %w(/gradle/libs.versions.toml).freeze
26
26
 
@@ -72,17 +72,23 @@ module Dependabot
72
72
  end
73
73
 
74
74
  def own_buildfile_repository_urls
75
- buildfile_content = comment_free_content(target_dependency_file)
75
+ return [] unless top_level_buildfile
76
76
 
77
- buildfile_content.dup.scan(/(?:^|\s)subprojects\s*\{/) do
77
+ buildfile_content = comment_free_content(top_level_buildfile)
78
+
79
+ own_buildfile_urls = []
80
+
81
+ subproject_buildfile_content = buildfile_content.dup.scan(/(?:^|\s)subprojects\s*\{/) do
78
82
  mtch = Regexp.last_match
79
- buildfile_content.gsub!(
83
+ buildfile_content.gsub(
80
84
  mtch.post_match[0..closing_bracket_index(mtch.post_match)],
81
85
  ""
82
86
  )
83
87
  end
84
88
 
85
- repository_urls_from(buildfile_content)
89
+ own_buildfile_urls += repository_urls_from(buildfile_content)
90
+ own_buildfile_urls += repository_urls_from(subproject_buildfile_content)
91
+ own_buildfile_urls
86
92
  end
87
93
 
88
94
  def repository_urls_from(buildfile_content)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-gradle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.242.1
4
+ version: 0.244.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.242.1
19
+ version: 0.244.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.242.1
26
+ version: 0.244.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dependabot-maven
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.242.1
33
+ version: 0.244.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.242.1
40
+ version: 0.244.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: debug
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -263,7 +263,7 @@ licenses:
263
263
  - Nonstandard
264
264
  metadata:
265
265
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
266
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.242.1
266
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.244.0
267
267
  post_install_message:
268
268
  rdoc_options: []
269
269
  require_paths: