Commit Graph

26 Commits

Author SHA1 Message Date
Akash Yadav adee0d678b fix(tooling-api): fetch variant-specific application IDs in application projects (#1387) 2024-01-21 20:10:56 +05:30
Akash Yadav 0931cbeff1 fix(tooling-api): make ToolingProps a public API 2023-11-09 12:51:48 +05:30
Akash Yadav efaeb0435e refactor(logger): rename ILogger.Priority to ILogger.Level 2023-11-07 19:01:45 +05:30
Akash Yadav e985d2ac4d fix(tooling-api): handle failures related to project directory 2023-11-06 23:20:57 +05:30
Akash Yadav e28da6b352 fix: ILogger.Priority deserialization issues due to r8's enum unboxing 2023-11-04 17:58:51 +05:30
Akash Yadav 1e0dc747e0 fix: make LogLine recyclable 2023-10-09 18:24:00 +05:30
Akash Yadav cc0a6391f6 fix: add tests for MainFragment and refactor testing modules 2023-10-07 23:37:34 +05:30
Akash Yadav 69e5671fb9 fix(tooling-api): NPE due to TaskOperationDescriptor.getOriginPlugin() being null (fixes #1358) 2023-10-04 20:20:47 +05:30
Akash Yadav 6899e1f8fc fix(build-service,tooling-api): Gradle Daemon and ToolingAPI server is not stopped properly
The Tooling API server (which is executed in a separate process) was not being stopped properly after IToolingApiServer.shutdown() was called. As a result, the Gradle daemon started by the tooling API was not stopped as well.

This commit fixes this issue by properly implementing the shutdown() call in Tooling API. Now, when the user closes a project and the GradleBuildService is destroyed, the Tooling API server stops the Gradle daemon(s) and then shutdowns itself.
2023-10-03 22:36:20 +05:30
Akash Yadav 1874b911e7 fix(tooling-api): avoid recreating ProjectConnection multiple times
Also, the TaskExecutionMessage now only accepts the tasks to run, not the project path and the Gradle distribution params
2023-09-30 22:02:58 +05:30
Akash Yadav 4290de353d fix: add ability to use custom Gradle dist version in tooling API 2023-09-05 17:36:51 +05:30
Akash Yadav bc014083c9 fix: specify minimum and latest AGP version in BuildInfo 2023-09-05 17:36:47 +05:30
Akash Yadav 458dcf5641 fix(tooling-api): do not try to fetch model sync files on unsupported AGP versions 2023-09-05 17:36:39 +05:30
Akash Yadav 4b577f5eed feat: add support for selecting build variants in project (closes #223) 2023-09-05 17:36:37 +05:30
Akash Yadav 73f2b18a37 refactor(tooling-api): rename 'InitializeProjectMessage' to 'InitializeProjectParams' 2023-09-05 17:36:37 +05:30
Akash Yadav 8f74b0faee fix: project initialization error is not handled properly 2023-09-05 17:36:30 +05:30
Akash Yadav e725d1cacf feat(projects): implement project deserialization and transformation (2/2) 2023-09-05 17:36:30 +05:30
Akash Yadav 823943625e feat(tooling-api): implement IJavaProject service 2023-09-05 17:36:29 +05:30
Akash Yadav de5e55c86e feat(tooling-api): new tooling API model implementation 2023-09-05 17:36:28 +05:30
Akash Yadav faf2c3b916 fix: task names are trimmed from build output before build is executed (closes #1045) 2023-06-18 23:53:45 +05:30
Akash Yadav 1cc1f21ea7 fix(tooling-api): FileTypeAdapter is incorrectly implemented 2023-01-28 22:39:49 +05:30
Akash Yadav 7fd2b79886 fix(tooling-api): register custom GSON adapter for java.io.File 2023-01-28 22:39:47 +05:30
Akash Yadav 4c1f78cced fix: fix memory leaks related to GradleBuildService and editor activity 2023-01-20 22:49:44 +05:30
Akash Yadav 012ae9927a tests: try to fix issues related to tooling-api-all.jar 2023-01-06 23:39:02 +05:30
Akash Yadav 42a3e71114 chore: migrate to Kotlin DSL and Version Catalog 2022-12-30 23:24:38 +05:30
Akash Yadav c9c6803052 refactor: rename module :build-tools to :subprojects 2022-12-21 18:36:08 +05:30