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

Support gradle.kts files #4

Open
rcd27 opened this issue Dec 6, 2019 · 3 comments
Open

Support gradle.kts files #4

rcd27 opened this issue Dec 6, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@rcd27
Copy link
Contributor

rcd27 commented Dec 6, 2019

When Gradle scripts are written in Gradle Kotlin DSL (.kts), plugin says "dependencies added", but they are not.

@rcd27
Copy link
Contributor Author

rcd27 commented Dec 6, 2019

Seems like com.android.tools.idea.gradle.dsl.api.dependencies.DependenciesModel with its addArtifact(..) function is only implemented for *.gradle files. All logic about parsing artifact String and placing it to the actual Gradle module is solved by *.gradle.dsl.api.* .

@yigit yigit added the bug Something isn't working label Feb 7, 2020
@yigit
Copy link
Owner

yigit commented Feb 7, 2020

i guess it will be fixed when studio has better support for them 🤷‍♂️

@rcd27
Copy link
Contributor Author

rcd27 commented May 29, 2020

@yigit this might be fixed in AS 4.0, but haven't checked yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants