That's what I thought but I also have commonMain source-set for testing module. I just wanted to clarify if that will be added or not in the final artifact.
Rohit Verma
04/30/2025, 2:12 PM
I tried inspect the APK but was failed.
v
Vampire
04/30/2025, 2:13 PM
Assuming
home
is your "main thing".
Everything in
home:commonMain
is productive code,
everything in
home:commonTest
is test code.
Whatever
home:commonTest
depends on is test code from the PoV of the
home
project.
➕ 2
👍 1
r
Rohit Verma
04/30/2025, 2:16 PM
Yeah, make sense. Test code doesn't included in the final artifact. Thanks for your help @Vampire
👌 1
Rohit Verma
04/30/2025, 5:41 PM
Hi @Vampire
I also tried adding test dependencies like this so that these dependencies will be added to the implementing module, i.e.,