task during configuration. Can I somehow avoid using the
kotlin-scripting
plugin entirely?
✅ 1
t
tapchicoma
01/15/2025, 6:03 PM
kotlin
plugin does not create
compileJava
tasks 🙂
tapchicoma
01/15/2025, 6:03 PM
on the original topic - no, you could not remove scripting plugin. This plugin is used when scripts are passed as a sources to the compilation task. If there are no scripts - overhead should be minimal
j
Josh Friend
01/15/2025, 6:05 PM
yeah i thought that would be weird for kotlin to create a compileJava task, but the build scan looks like it blames kotlin.
Josh Friend
01/15/2025, 6:16 PM
i put a
tasks.withType(JavaCompile).configureEach {}
in my build logic and set a breakpoint to see who was configuring the task. heres the stack trace, kotlin plugin is there in the stack