fixup! [Gradle] Implement diagnostics for cases when 'default hierarchy' cannot be applied
diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/diagnosticsRenderingSmoke/expectedOutput.txt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/diagnosticsRenderingSmoke/expectedOutput.txt
index 4d9ad7e..aae90d2 100644
--- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/diagnosticsRenderingSmoke/expectedOutput.txt
+++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/diagnosticsRenderingSmoke/expectedOutput.txt
@@ -9,11 +9,25 @@
w: [CommonMainWithDependsOnDiagnostic | WARNING] commonMain can't declare dependsOn on other source sets
#diagnostic-end
+w: [KotlinTargetHierarchyFallbackDependsOnUsageDetected | WARNING] Default Kotlin Target Hierarchy was not applied to the project:
+Manual .dependsOn() edges were configured for the following source sets:
+[commonMain]
+
+To suppress the 'Default Target Hierarchy' add 'kotlin.mpp.enableDefaultTargetHierarchy=false' to your gradle.properties
+#diagnostic-end
+
> Configure project :subprojectB
w: [CommonMainWithDependsOnDiagnostic | WARNING] commonMain can't declare dependsOn on other source sets
#diagnostic-end
+w: [KotlinTargetHierarchyFallbackDependsOnUsageDetected | WARNING] Default Kotlin Target Hierarchy was not applied to the project:
+Manual .dependsOn() edges were configured for the following source sets:
+[commonMain]
+
+To suppress the 'Default Target Hierarchy' add 'kotlin.mpp.enableDefaultTargetHierarchy=false' to your gradle.properties
+#diagnostic-end
+
w: [UnusedSourceSetsWarning | WARNING] The Kotlin source set unusedCreatedInAfterEvaluate was configured but not added to any Kotlin compilation.
You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.