Dzmitry
11/29/2023, 9:45 AMDzmitry
11/29/2023, 9:59 AMBrais Gabin
11/29/2023, 10:37 AMdetekt and detektDebug (for example) are differentBrais Gabin
11/29/2023, 10:38 AMdetekt doesn't only checks the files without resolving types. the other tasks detekt with "surname" revolves types so way more rules run.Brais Gabin
11/29/2023, 10:39 AMdetektVariant.Dzmitry
11/29/2023, 11:41 AMdetekt*WithTypes* task that run detekt against all source sets with type checks. Then detekt*WithoutTypes*, and finally detektAll that run both tasks above?
2. My initial question: is it right approach to configure detekt with combination of task and DetektExtension?
3. For some reason I have an error running detekt for specific KMP module with compose. If I directly run ./gradlew :module:detekt I face this problem, but if I run detekt for all modules (./gradlew detekt) there is no such problem. What I’m doing wrong?
An exception occurred applying plugin request [id: 'com.android.library', version: '8.0.2']
> Failed to apply plugin 'com.android.internal.library'.
> Accessing GradleBuildProject.Builder through AnalyticsConfiguratorService is not allowed after AnalyticsService is created.Dzmitry
11/29/2023, 12:22 PMdetekt*Variant* tasks for application module equals to running detekt with extra running type checking rules? Or do I need to run both?Dzmitry
11/29/2023, 2:18 PMdetekt task, and after releasing detekt 2.0 with compiler plugin a lot of problems from message above would be resolved.Dzmitry
11/30/2023, 10:36 AMAnalyticsConfiguratorService error for modules with kotlin multiplatofrm. Though can’t generate baseline for this modules. Do you have any idea how to fix this?Brais Gabin
11/30/2023, 1:56 PMBrais Gabin
11/30/2023, 1:58 PMDzmitry
11/30/2023, 1:59 PMBrais Gabin
11/30/2023, 2:20 PMBrais Gabin
11/30/2023, 2:20 PMDzmitry
11/30/2023, 2:41 PM