File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -122,13 +122,24 @@ gulp.task('download_lombok', async function (done) {
122
122
}
123
123
124
124
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" )
129
127
. pipe ( gulp . dest ( './lombok/' ) )
130
128
. 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);
132
143
} ) ;
133
144
done ( ) ;
134
145
} ) ;
You can’t perform that action at this time.
0 commit comments