Skip to content

Commit 19131aa

Browse files
testforstephenrgrunber
authored andcommitted
Update to lombok 1.18.28
Signed-off-by: Jinbo Wang <[email protected]>
1 parent 1eb619e commit 19131aa

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

gulpfile.js

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,13 @@ gulp.task('download_lombok', async function (done) {
123123
}
124124

125125
await new Promise(function (resolve, reject) {
126-
// Adopt lombok-1.18.27 edge release for the issue https://github.com/redhat-developer/vscode-java/issues/2887
127-
download("https://projectlombok.org/lombok-edge.jar")
126+
const lombokVersion = '1.18.28';
127+
// The latest lombok version can be found on the website https://projectlombok.org/downloads
128+
const lombokUrl = `https://projectlombok.org/downloads/lombok-${lombokVersion}.jar`;
129+
download(lombokUrl)
128130
.pipe(gulp.dest('./lombok/'))
129131
.on("error", reject)
130-
.on('end', () => {
131-
fse.renameSync("./lombok/lombok-edge.jar", "./lombok/lombok-1.18.27.jar");
132-
resolve();
133-
});
134-
135-
// TODO: Switch to stable version once lombok 1.18.28 is released.
136-
137-
// const lombokVersion = '1.18.24';
138-
// // The latest lombok version can be found on the website https://projectlombok.org/downloads
139-
// const lombokUrl = `https://projectlombok.org/downloads/lombok-${lombokVersion}.jar`;
140-
// download(lombokUrl)
141-
// .pipe(gulp.dest('./lombok/'))
142-
// .on("error", reject)
143-
// .on('end', resolve);
132+
.on('end', resolve);
144133
});
145134
done();
146135
});

0 commit comments

Comments
 (0)