ln-12 / multiplatform-connectivity-status

A Kotlin multiplatform mobile library to monitor the connectivity status of the device
Apache License 2.0
71 stars 2 forks source link

library name not compatible with databinding #2

Closed johnqinheracles closed 2 years ago

johnqinheracles commented 2 years ago

library cannot find located when buildFeatures.databinding is truned on image

ln-12 commented 2 years ago

Thanks for the report! I am not sure if that is a fault on my side or if kapt should be updated. Have you also filled an issue to the kapt team?

davidoskky commented 2 years ago

This is a problem, hyphens are not allowed in java package names. https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html

ln-12 commented 2 years ago

I created a new release which should fix this issue. Could you please update to version com.github.ln-12:multiplatform-connectivity-status:1.2.0, change the imports fromln-12 to ln_12 and verify that it is working for you?

davidoskky commented 2 years ago

I confirm that the issue is fixed in the new release.