hey all -- I'm trying to copy all my `implementati...
# gradle
n
hey all -- I'm trying to copy all my
implementation
dependencies into build/lib, but a Copy task with
from(configurations.compile)
isn't copying anything at all; I think I need something special to get the Kotlin project's dependencies or something. suggestions?
v
Don't use
compile
, it is deprecated since years and also not meant for consumption. Use
compileClasspath
instead, that will probably work.
n
hm, it's not marked as deprecated
v
It is
n
well, not in Gradle 6.8 anyway
v
Sure, it is marked as deprecated since years
Where do you see otherwise?
n
it's hard to tell because it's generated, but it looks like it's coming from here
n
right but I wasn't using it to declare dependencies
v
Doesn't matter
Or rather they are only used for declaring anyway
They were never for resolving
n
...alright, compileClasspath works fine. I thought I'd tried that before but apparently not
thanks 🙂
v
yw