File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -277,14 +277,16 @@ export class GradleClient implements vscode.Disposable {
277
277
javaDebugPort = 0 ,
278
278
task ?: vscode . Task ,
279
279
onOutput ?: ( output : Output ) => void ,
280
- showOutputColors = true
280
+ showOutputColors = true ,
281
+ title ?: string ,
282
+ location ?: vscode . ProgressLocation
281
283
) : Promise < void > {
282
284
await this . waitForConnect ( ) ;
283
285
this . statusBarItem . hide ( ) ;
284
286
return vscode . window . withProgress (
285
287
{
286
- location : vscode . ProgressLocation . Window ,
287
- title : "Gradle" ,
288
+ location : location || vscode . ProgressLocation . Window ,
289
+ title : title || "Gradle" ,
288
290
cancellable : true ,
289
291
} ,
290
292
async ( progress : vscode . Progress < { message ?: string } > , token : vscode . CancellationToken ) => {
Original file line number Diff line number Diff line change @@ -102,6 +102,17 @@ export class CreateProjectCommand extends Command {
102
102
args . push ( "--package" ) ;
103
103
args . push ( metadata . sourcePackageName ) ;
104
104
}
105
- await this . client . runBuild ( metadata . targetFolder , cancellationKey , args ) ;
105
+ await this . client . runBuild (
106
+ metadata . targetFolder ,
107
+ cancellationKey ,
108
+ args ,
109
+ "" ,
110
+ 0 ,
111
+ undefined ,
112
+ undefined ,
113
+ true ,
114
+ "Create Gradle project" ,
115
+ vscode . ProgressLocation . Notification
116
+ ) ;
106
117
}
107
118
}
You can’t perform that action at this time.
0 commit comments