Skip to content
Snippets Groups Projects
Commit 575ba106 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(gradle): handle classesDir incompatibility

parent 0b3967b1
Branches
Tags 19.133.9
No related merge requests found
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment