https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
l

Leon Kiefer

12/10/2023, 11:28 PM
Hi, I'm trying to share common code between gradle subprojects but the compiler cannot resolve the references. I have the following setup: A
root
project and two subprojects
A
and
B
.
A
and
B
are multiplatform projects.
B
depends on
A
(
implementation(project(":A"))
). However in project
B
I cannot resolve any references from project
A
. The task
:B:compileReleaseKotlinAndroid
fails with unresolved references. In
A
and
B
I have configured
androidTarget
and ios targets.
1