rahul_lohra
05/04/2020, 12:10 AMcommonMain block
First Question - Why I am unable to use normal jars/aars artifacts - when I write them inside commonMain.dependencies
For eg -
If I include rxJava dependency inside commonMain. Then I will not be able to use it (reference it) while writing code in commonMain source folder
shared/build.gradle
commonMain.dependencies{
implementation "io.reactivex.rxjava2:rxjava:2.2.19"
}
Next question - Why / How I am able to use multiplatform libraries like below- or how/why am i properly use the classes present in multiplatform library while writing code in commonMain folder
commonMain.dependencies{
implementation com.noheltcj:rxcommon:0.6.1
}Javier
05/04/2020, 2:08 AM