touchlab / Kermit

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

Reduce build warnings #335

Closed psh closed 1 year ago

psh commented 1 year ago

The namespace / package declaration for Android was moved from the AndroidManifest to a gradle property as reported by numerous build warnings.

android {
    namespace = "co.touchlab.kermit"
    compileSdk = 30

    // ...
}

This PR moves the value from the manifest to the associated gradle build.

The compiler was flagging the inline fun API in the logger / base logger as not being useful, but that's a deliberate design choice of the API, so I added a line to suppress the warning for those files.