After some more digging I think that the problem i...
# gradle
m
After some more digging I think that the problem is
KotlinBuildScript
references some classes from a different classpath than the one in my project. For example,
Function1
is coming from different places and I think that's the root of the problem. Here's the
classLoader.getResources("kotlin/jvm/functions/Function0.class")
for the two classes: