hfhbd
09/13/2024, 9:00 AMVampire
09/13/2024, 9:11 AMAnd after 2.0 release we will redesign/rethink thein favor of more maintainable and fine-tuned approach.KotlinDependencyHandler
see: https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.DependencyAdder.html
Vampire
09/13/2024, 9:12 AMhfhbd
09/13/2024, 9:14 AMVampire
09/13/2024, 9:19 AMDependencyAdder
is the old name of DependencyCollector
)tapchicoma
09/13/2024, 9:56 AMhfhbd
09/13/2024, 9:59 AMtapchicoma
09/13/2024, 10:23 AMprepareKotlinIdeaImport
task is only added in KMP
• Import could gather which tasks generate something and trigger them after main import will finish, so users will not see red code that referencing generated symbolstapchicoma
09/13/2024, 10:24 AMVampire
09/13/2024, 10:48 AMsrcDir
, shouldn't it be sufficient if the IDE import just tells Gradle "give me all source files" which should then automatically trigger the generation tasks? It does not even do anything with the files.tapchicoma
09/13/2024, 10:50 AMshouldn't it be sufficient if the IDE import just tells Gradle "give me all source files" which should then automatically trigger the generation tasks?It will be kind of heavy part of import process, so we want to delay it as much as possible (and maybe make optional). Overall we are still in discovery phase how to do it.