From 70ebc3eec19f0e827734b9a20f016e92433c834d Mon Sep 17 00:00:00 2001 From: Marco Klein Date: Tue, 11 Jun 2024 14:09:46 +0200 Subject: [PATCH] Adopt the Lombok 1.18.33 edge release. Co-authored-by: Marco Klein Co-authored-by: Roland Grunberg --- gulpfile.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 08e633557..fdf8f5e23 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -127,14 +127,18 @@ gulp.task('download_lombok', async function (done) { } await new Promise(function (resolve, reject) { - const lombokVersion = '1.18.32'; + const lombokVersion = '1.18.33'; // The latest lombok version can be found on the website https://projectlombok.org/downloads - const lombokUrl = `https://projectlombok.org/downloads/lombok-${lombokVersion}.jar`; + const lombokUrl = `https://projectlombok.org/lombok-edge.jar`; download(lombokUrl) .pipe(gulp.dest("./lombok/")) .on("error", reject) - .on("end", resolve); + .on("end", () => { + fse.renameSync("./lombok/lombok-edge.jar", `./lombok/lombok-${lombokVersion}.jar`); + resolve(); + }); }); + // TODO: Switch to stable version once lombok 1.18.33 is released. done(); });