hi;
I have the following issue:
library A; 1.0.4
data class Test(
val a: String,
val b: String? = null
)
library A; 1.0.5
data class Test(
val a: String,
val b: String? = null,
val c: String? = null
)
library B; 1.0.1
-> library A; [1.0, 2.0) // when built -> 1.0.4
library C;
-> library B; [1.0, 2.0)
-> library A; [1.0, 2.0)
now, when building library C again;
-> library B; [1.0, 2.0) -> 1.0.1
-> library A; [1.0, 2.0) -> 1.0.5
here; given library A; 1.0.5 gets picked; the library C, when running, gives me
java.lang.NoSuchMethodError: Test.<init>
when it should've ideally not (I think?)
can someone help me figure out why this is happening, and how I can mitigate this?