InspektExtension
Configuration for the Inspekt Gradle plugin.
Properties
Link copied to clipboard
If true (which is the default), the dependency on the inspekt runtime library will be automatically added to all source sets (as an implementation dependency). The library is required to invoke inspekt, so if it's not included, the compiler plugin is useless.
Link copied to clipboard
If greater than 0 (the default is 5), warns when invocation lambas are generated for functions with more default arguments than this number. This is because the invocation lambda has a when statement with a branch for each combination of default arguments, meaning 2 ^ (number of default arguments) cases. This can easily lead to performance issues and binary size bloat.