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
575ba106
Commit
575ba106
authored
5 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
fix(gradle): handle classesDir incompatibility
parent
0b3967b1
Branches
Branches containing commit
Tags
19.133.9
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/manager/gradle/index.ts
+8
-0
8 additions, 0 deletions
lib/manager/gradle/index.ts
with
8 additions
and
0 deletions
lib/manager/gradle/index.ts
+
8
−
0
View file @
575ba106
...
@@ -100,6 +100,14 @@ async function executeGradle(
...
@@ -100,6 +100,14 @@ async function executeGradle(
);
);
return
;
return
;
}
}
// istanbul ignore if
if
(
err
.
message
.
includes
(
"
Could not get unknown property 'classesDir'
"
))
{
logger
.
warn
(
{
message
:
err
.
message
},
'
Gradle extraction failed due to incompatibility. Gradle will be skipped.
'
);
return
;
}
logger
.
warn
({
err
,
cmd
},
'
Gradle run failed
'
);
logger
.
warn
({
err
,
cmd
},
'
Gradle run failed
'
);
logger
.
info
(
'
Aborting Renovate due to Gradle lookup errors
'
);
logger
.
info
(
'
Aborting Renovate due to Gradle lookup errors
'
);
const
error
=
new
DatasourceError
(
err
);
const
error
=
new
DatasourceError
(
err
);
...
...
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