Skip to content

Commit a758854

Browse files
testforstephenfbricon
authored andcommitted
Adopt the [email protected] edge release
Signed-off-by: Jinbo Wang <[email protected]>
1 parent 23677fc commit a758854

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

gulpfile.js

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

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

0 commit comments

Comments
 (0)