Stylianos Gakis
08/04/2022, 12:18 PM:kspProcessors
inside the project, and I am importing it into my module (let’s call it :app
) where I want the code generated with add("kspJs", project(":kspProcessors"))
, add("kspAndroid", project(":kspProcessors"))
and add("kspIosX64", project(":kspProcessors"))
.
Thing is, inside my KSP, code, it’d be very convenient to have access to the classes that exist inside my :app
module, to more easily reference them in the code I generate. But would I not then introduce a circular dependency if :kspProcessors
was depending on :app
with implementation(project(":app"))
and had :app
depend on the ksp module as I am describing above?
Would I need to keep the KSP code inside the same module? Maybe there’s no circular dep if one depends on the other using implementation
and the other using ksp
? I do not know if I am wording my question as well as I could’ve since I am totally not familiar with how to work with KSP in general, so please ask clarifying questions if I can make something more understandable.wasyl
08/04/2022, 12:22 PMprocessor-api
project with annotations/types that you’d like to share, and just depend on it from both processor and app codeStylianos Gakis
08/04/2022, 12:25 PMwasyl
08/04/2022, 12:27 PMStylianos Gakis
08/04/2022, 12:32 PM