This message was deleted.
# community-support
s
This message was deleted.
c
I've just dug into the implementation of
testImplementation
and see it's calling an
add
function which has a more safe looking import. I guess I'll use that instead!
👆 1
v
Yeah, never use such imports. Those are the generated accessors and the hash in the package changes when applied plugins change. Sometime IntelliJ inserts such imports if you copy things around, but you should never use them. You can either use the
add("testImplementation", ...)
you found, or also use the
String
extension function
"testImplementation"(...)
c
oooo cool, thanks @Vampire!
👌 1