WatchdogJavaInteropExtension
The javaInterop block of WatchdogGradleExtension: the Java-interop diagnostics. They matter only to Java consumers, so a Kotlin-only library turns them off:
apiWatchdog {
javaInterop {
enabled = false
}
}See Java interop checks for more details.
Properties
Severity of COMPANION_API_WITHOUT_JVM_STATIC: companion functions Java reaches through the instance.
Severity of COMPANION_PROPERTY_WITHOUT_STATIC_ACCESS: non-static companion property accessors.
Severity of DEFAULT_PARAMETERS_WITHOUT_JVM_OVERLOADS: defaults that don't exist for Java callers.
Severity of KOTLIN_ONLY_API_WITHOUT_JVM_SYNTHETIC: Kotlin-only shapes visible to Java.
Severity of MANGLED_JVM_NAME_PUBLIC_API: value classes that mangle public JVM signatures.
Severity of TOP_LEVEL_API_WITHOUT_JVM_NAME: file facades that show the file name to Java.