File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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} ) ;
You can’t perform that action at this time.
0 commit comments