Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
d2a67bb3
Unverified
Commit
d2a67bb3
authored
5 years ago
by
Jamie Magee
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(gradle): use URI in place of UrlArtifactRepository (#5428)
Tested on gradle 5 & 6 Fixes #5424
parent
71a6f628
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/manager/gradle/gradle-updates-report.ts
+2
-2
2 additions, 2 deletions
lib/manager/gradle/gradle-updates-report.ts
with
2 additions
and
2 deletions
lib/manager/gradle/gradle-updates-report.ts
+
2
−
2
View file @
d2a67bb3
...
@@ -32,7 +32,7 @@ async function createRenovateGradlePlugin(localDir: string): Promise<void> {
...
@@ -32,7 +32,7 @@ async function createRenovateGradlePlugin(localDir: string): Promise<void> {
const
content
=
`
const
content
=
`
import groovy.json.JsonOutput
import groovy.json.JsonOutput
import org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency
import org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency
import
org.gradle.api.artifacts.repositories.UrlArtifactRepository
import
java.net.URI
import java.util.concurrent.ConcurrentLinkedQueue
import java.util.concurrent.ConcurrentLinkedQueue
def output = new ConcurrentLinkedQueue<>();
def output = new ConcurrentLinkedQueue<>();
...
@@ -43,7 +43,7 @@ allprojects {
...
@@ -43,7 +43,7 @@ allprojects {
def project = ['project': project.name]
def project = ['project': project.name]
output << project
output << project
def repos = (repositories + buildscript.repositories + settings.pluginManagement.repositories)
def repos = (repositories + buildscript.repositories + settings.pluginManagement.repositories)
.findAll { it instanceof U
rlArtifactRepository
&& it.url.scheme ==~ /https?/ }
.findAll { it instanceof U
RI
&& it.url.scheme ==~ /https?/ }
.collect { "$it.url" }
.collect { "$it.url" }
.unique()
.unique()
project.repositories = repos
project.repositories = repos
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment