Commit Graph

19 Commits

Author SHA1 Message Date
Akash Yadav 94449ada46 fix: implement usage of variant-specific applicationId in actions (fixes #1387) 2024-01-22 19:43:04 +05:30
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 81c9a5b0a5 build: remove usage of deprecated Project.buildDir and downgradle AGP to 8.1.3 2023-11-09 09:43:04 +05:30
Akash Yadav 5562dc2069 feat(tooling-api): fetch project sync issues from the Android Gradle Plugin 2023-10-05 20:05:16 +05:30
Akash Yadav 5fe2a795e1 fix(tooling-api): remove usage of hardcoded root project path 2023-09-30 21:08:14 +05:30
Akash Yadav ee6aa11bb0 refactor: rename AndroidModule.selectedVariant to 'configuredVariant' 2023-09-05 17:36:42 +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 8c21fbc002 feat: add UI for build variants list 2023-09-05 17:36:35 +05:30
Akash Yadav 79b7cc1083 fix: update AGP and builder-model API to v8.1.0 (fixes #1192) 2023-09-05 17:36:32 +05:30
Akash Yadav e725d1cacf feat(projects): implement project deserialization and transformation (2/2) 2023-09-05 17:36:30 +05:30
Akash Yadav e38348c9ff feat(projects): implement project deserialization and transformation (1/2) 2023-09-05 17:36:29 +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 1730d0ae67 fix(tooling-api): project initialization failure when the project contains a Java library module
This happens due to the use of relocated packages in AndroidIDE's Java Compiler API. The 'JavaModuleCompilerSettings' class references the 'javax.lang.model.SourceVersion.RELEASE_11' enum.
However, in AndroidIDE, the SourceVersion class has the package name 'jdkx.lang.model'.

The project compiles successfully as the ':subprojects:tooling-api-model' module is a Java library due to which, 'javax.lang.model.SourceVersion' can be referenced without any errors.
However at runtime, there is no such class and hence the 'NoClassDefFoundError' is thrown. This exception is silently logged to the error stream by the JSONRpc protocol and hence it
cannot be seen in the IDE logs.

This closes #875.
2023-03-18 13:48:19 +05:30
Akash Yadav 2a841748b8 fix: invalid path specified in :subprojects:tooling-api-model:copyToTestDir Gradle task 2023-02-12 00:12:35 +05:30
Akash Yadav 5542c690cc fix(deps/tooling-api): update builder-model to v7.4.0 2023-01-19 09:40:30 +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