Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: "no such file or directory" error when using Gradle Kotlin DSL #1578

Merged

Conversation

mateusz1913
Copy link

Summary:

According to #1567 (comment), older CLI versions do not handle build.gradle.kts as valid Gradle scripts, during autolinking.

This PR adds an additional check for default path to build.gradle.kts and throws an error, if there is no file at path.

Test Plan:

Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for porting this to 6.x as well 👍🏼

@thymikee thymikee merged commit 74f5512 into react-native-community:6.x Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants