touchlab / Kermit

Kermit by Touchlab is a Kotlin Multiplatform centralized logging utility.
https://kermit.touchlab.co
Apache License 2.0
725 stars 41 forks source link

Use includeBuild in samples #302

Closed samhill303 closed 1 year ago

samhill303 commented 1 year ago

When setting up samples you can sometimes use gradle's includeBuild to automatically substitute your local version for the published artifact. You can see an example in CrashKiOS here.

For each sample in Kermit, update settings.gradle to use includeBuild to substitute a local build of Kermit. You will also need to not include versions when using the kermit dependency in the samples.

Confirm it's working by making local changes to Kermit and making sure the sample picks up the change.

samhill303 commented 1 year ago

We ran in to issues when using the composite build including a metadata issue with kermit-crashlytics, incompatibility with the legacy JS compiler.