Skip to main content

Warnings

These settings can be used to suppress SKIE-related warnings.

NameCollision (Boolean)

If true, SKIE will not raise a warning when it renames a declaration because of a name collision.

The default value is false.

Annotation configuration:

Kotlin
import co.touchlab.skie.configuration.annotations.SuppressSkieWarning

@SuppressSkieWarning.NameCollision
fun warningSuppressed() {
}

@SuppressSkieWarning.NameCollision(false)
fun warningEnabled() {
}

Gradle configuration:

build.gradle.kts
import co.touchlab.skie.configuration.SuppressSkieWarning

skie {
features {
group {
SuppressSkieWarning.NameCollision(true) // or false
}
}
}