From 2cd1c83eef5d3a05b38a5e591f6d1d041dc23232 Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Thu, 7 Nov 2024 23:03:50 -0500 Subject: [PATCH] Revert to Lombok 1.18.34. - Workaround for issue #3836 Signed-off-by: Roland Grunberg --- gulpfile.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b0ca41a20..d0014182c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -127,18 +127,14 @@ gulp.task('download_lombok', async function (done) { } await new Promise(function (resolve, reject) { - const lombokVersion = '1.18.35'; + const lombokVersion = '1.18.34'; // The latest lombok version can be found on the website https://projectlombok.org/downloads - const lombokUrl = `https://projectlombok.org/lombok-edge.jar`; + const lombokUrl = `https://projectlombok.org/downloads/lombok-${lombokVersion}.jar`; download(lombokUrl) .pipe(gulp.dest("./lombok/")) .on("error", reject) - .on("end", () => { - fse.renameSync("./lombok/lombok-edge.jar", `./lombok/lombok-${lombokVersion}.jar`); - resolve(); - }); + .on("end", resolve); }); - // TODO: Switch to stable version once lombok 1.18.35 is released. done(); });