LouisCAD / Splitties

A collection of hand-crafted extensions for your Kotlin projects.
https://splitties.louiscad.com
Apache License 2.0
2.53k stars 159 forks source link

Android Studio completion for the plugin #220

Open jmfayard opened 5 years ago

jmfayard commented 5 years ago

The auto-completion seems to work only for build.gradle.kts, not for build.gradle Strange given that it works in the buildSrc which is basically a private Gradle plugin. To be investigated.

image
LouisCAD commented 5 years ago

Kotlin objects are not recognized by Groovy, plus other weird things, that's why I had lowercase vals initially, so Groovy can see them.

jmfayard commented 5 years ago

I've seen your trick and I like it. But here it's different from me, it can't even find the base class AndroidX. Any ideas?

LouisCAD commented 5 years ago

Have you tried having a top level androidX val ?