mbonnin
12/15/2025, 11:11 PMandylamax
12/15/2025, 11:26 PMmbonnin
12/15/2025, 11:28 PMtapchicoma
12/16/2025, 9:20 AMKotlinCompilation and KotlinSourceSet have very blurred borders between each other.
Regarding your question:
• you could access main source set for give compilation via KotlinCompilation.defaultSourceSet
• KotlinCompilation currently also extends HasKotlinDependencies interface, but we are deprecating it in 2.3.0 releasembonnin
12/16/2025, 9:28 AMjvmMain for an example, right? It's the "leaf" source set, right?tapchicoma
12/16/2025, 9:29 AMmain compilation it is jvmMainmbonnin
12/16/2025, 9:29 AMmbonnin
12/16/2025, 9:29 AMkotlin-stdlib to a certain version on JVM compilations and another version on all the other ones, still chewing that bone)