code-connect icon indicating copy to clipboard operation
code-connect copied to clipboard

Support gradle projects that use gradle.build file instead of gradle.build.kts

Open alexjlockwood opened this issue 1 year ago • 3 comments

On this line, the parser will determine if the project is a gradle/compose project by detecting if there exists a build.gradle.kts file https://github.com/figma/code-connect/blob/bbd08d49228d467553117b0b190f535b807579b0/cli/src/connect/project.ts#L192

However, some older projects may still be using the old build.gradle files (without the .kts extension). So it would be nice to detect it this way as well.

alexjlockwood avatar Jan 24 '25 16:01 alexjlockwood

At least this should be mentioned in the documentation

sebastiennavico avatar Jan 31 '25 23:01 sebastiennavico

Even though PRs are not accepted I created one to who how easy it should be to allow many Android projects to be supported

sebastienrouif avatar Jan 31 '25 23:01 sebastienrouif

This is now supported as of v1.3.1 🙂

rgullyfigma avatar Feb 20 '25 11:02 rgullyfigma