ArtifactFinder
ArtifactFinder copied to clipboard
Support `gradle.kts` files
trafficstars
When Gradle scripts are written in Gradle Kotlin DSL (.kts), plugin says "dependencies added", but they are not.
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.* .
i guess it will be fixed when studio has better support for them :man_shrugging:
@yigit this might be fixed in AS 4.0, but haven't checked yet.