Skip to content

Commit dba601b

Browse files
committed
fix(tooling/impl): update model builder params to fix TAPI tests
1 parent 308bcb5 commit dba601b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tooling/impl/src/main/java/com/itsaky/androidide/tooling/impl/sync/AndroidProjectModelBuilder.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ class AndroidProjectModelBuilder(initializationParams: InitializeProjectParams)
7070
it.dontBuildAndroidTestRuntimeClasspath = true
7171
it.dontBuildTestFixtureRuntimeClasspath = true
7272
it.dontBuildUnitTestRuntimeClasspath = true
73+
it.dontBuildHostTestRuntimeClasspath = emptyMap()
74+
it.dontBuildScreenshotTestRuntimeClasspath = true
7375
}
7476

7577
controller.findModel(module, ProjectSyncIssues::class.java)?.also { syncIssues ->

tooling/impl/src/test/java/com/itsaky/androidide/tooling/impl/CIOnlyToolingApiTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CIOnlyToolingApiTests {
4141

4242
/**
4343
* Tests the functionality of the tooling API implementation against multiple versions of the
44-
* Android Gradle Plugin. This test runs only in the CI environment.
44+
* Android Gradle Plugin. This test runs only in the CI environment.
4545
*/
4646
@Test
4747
fun `test CI-only simple multi module project initialization with multiple AGP versions`() {

0 commit comments

Comments
 (0)