Integrated build actions with the Lookup API

This commit is contained in:
Akash Yadav
2022-08-14 17:47:19 +05:30
parent 9c986969af
commit b08a7749f2
17 changed files with 141 additions and 219 deletions
@@ -309,6 +309,11 @@ public class GradleBuildService extends Service implements BuildService, IToolin
.notify(NOTIFICATION_ID, buildNotification(message));
}
@Override
public boolean isBuildInProgress() {
return isBuildInProgress;
}
@NonNull
@Override
public CompletableFuture<InitializeResult> initializeProject(@NonNull String rootDir) {
@@ -383,10 +388,6 @@ public class GradleBuildService extends Service implements BuildService, IToolin
return result;
}
public boolean isBuildInProgress() {
return isBuildInProgress;
}
public void startToolingServer(@Nullable OnServerStartListener listener) {
if (toolingServerThread == null || !toolingServerThread.isAlive()) {
toolingServerThread = new Thread(new ToolingServerRunner(listener));