gammax
02/09/2021, 7:35 PMmetadata target with several compilations (e.g. both main and commonMain). More details are in this Github PR.
• I’m looking for someone that would be interested in trying Detekt in a KMM project in some form.Javier
02/09/2021, 7:39 PMandroid(), main dissapears?gammax
02/09/2021, 8:02 PMgammax
02/09/2021, 8:06 PMmetadata target has by default compilations: main and commonMain.
If the project has a ios() target, then metadata it receives also the iosMain compilation.nrobi
02/10/2021, 5:41 AMchao
02/10/2021, 6:33 AMcommon:detekt
common:detektBaseline - Creates a detekt baseline on the given --baseline path.
common:detektBaselineIosMain - Creates detekt baseline for ios and source set main
common:detektBaselineIosTest - Creates detekt baseline for ios and source set test
common:detektGenerateConfig - Generate a detekt configuration file inside your project.
common:detektIosMain - Run detekt analysis for target ios and source set main
common:detektIosTest - Run detekt analysis for target ios and source set test
➜ MultiplatformPlayground git:(master) ✗ ./gradlew tasks --all | grep detekt
common:detekt
common:detektAndroidDebug - EXPERIMENTAL: Run detekt analysis for target android and source set debug with type resolution.
common:detektAndroidDebugAndroidTest - EXPERIMENTAL: Run detekt analysis for target android and source set debugAndroidTest with type resolution.
common:detektAndroidDebugUnitTest - EXPERIMENTAL: Run detekt analysis for target android and source set debugUnitTest with type resolution.
common:detektAndroidRelease - EXPERIMENTAL: Run detekt analysis for target android and source set release with type resolution.
common:detektAndroidReleaseUnitTest - EXPERIMENTAL: Run detekt analysis for target android and source set releaseUnitTest with type resolution.
common:detektBaseline - Creates a detekt baseline on the given --baseline path.
common:detektBaselineAndroidDebug - EXPERIMENTAL: Creates detekt baseline for android and source set debug with type resolution.
common:detektBaselineAndroidDebugAndroidTest - EXPERIMENTAL: Creates detekt baseline for android and source set debugAndroidTest with type resolution.
common:detektBaselineAndroidDebugUnitTest - EXPERIMENTAL: Creates detekt baseline for android and source set debugUnitTest with type resolution.
common:detektBaselineAndroidRelease - EXPERIMENTAL: Creates detekt baseline for android and source set release with type resolution.
common:detektBaselineAndroidReleaseUnitTest - EXPERIMENTAL: Creates detekt baseline for android and source set releaseUnitTest with type resolution.
common:detektBaselineIosMain - Creates detekt baseline for ios and source set main
common:detektBaselineIosTest - Creates detekt baseline for ios and source set test
common:detektGenerateConfig - Generate a detekt configuration file inside your project.
common:detektIosMain - Run detekt analysis for target ios and source set main
common:detektIosTest - Run detekt analysis for target ios and source set test
I was applying the PR to the provided MultiplatformPlayground and it is registering the expected set of taskschao
02/10/2021, 6:33 AM➜ MultiplatformPlayground git:(master) ✗ ./gradlew tasks --all | grep detekt
common:detekt
common:detektAndroidDebug - EXPERIMENTAL: Run detekt analysis for target android and source set debug with type resolution.
common:detektAndroidDebugAndroidTest - EXPERIMENTAL: Run detekt analysis for target android and source set debugAndroidTest with type resolution.
common:detektAndroidDebugUnitTest - EXPERIMENTAL: Run detekt analysis for target android and source set debugUnitTest with type resolution.
common:detektAndroidRelease - EXPERIMENTAL: Run detekt analysis for target android and source set release with type resolution.
common:detektAndroidReleaseUnitTest - EXPERIMENTAL: Run detekt analysis for target android and source set releaseUnitTest with type resolution.
common:detektBaseline - Creates a detekt baseline on the given --baseline path.
common:detektBaselineAndroidDebug - EXPERIMENTAL: Creates detekt baseline for android and source set debug with type resolution.
common:detektBaselineAndroidDebugAndroidTest - EXPERIMENTAL: Creates detekt baseline for android and source set debugAndroidTest with type resolution.
common:detektBaselineAndroidDebugUnitTest - EXPERIMENTAL: Creates detekt baseline for android and source set debugUnitTest with type resolution.
common:detektBaselineAndroidRelease - EXPERIMENTAL: Creates detekt baseline for android and source set release with type resolution.
common:detektBaselineAndroidReleaseUnitTest - EXPERIMENTAL: Creates detekt baseline for android and source set releaseUnitTest with type resolution.
common:detektBaselineIosMain - Creates detekt baseline for ios and source set main
common:detektBaselineIosTest - Creates detekt baseline for ios and source set test
common:detektGenerateConfig - Generate a detekt configuration file inside your project.
common:detektIosMain - Run detekt analysis for target ios and source set main
common:detektIosTest - Run detekt analysis for target ios and source set test