[Gradle] Elevate CommonMainWithDependsOnDiagnostic to error

^KT-59311 Verification Pending
This commit is contained in:
Anton Lakotka
2023-07-10 13:37:20 +02:00
committed by Space Team
parent fcba0ad75e
commit cd5e4611eb
3 changed files with 4 additions and 4 deletions
@@ -35,7 +35,7 @@ object KotlinToolingDiagnostics {
)
}
object CommonMainWithDependsOnDiagnostic : ToolingDiagnosticFactory(WARNING) {
object CommonMainWithDependsOnDiagnostic : ToolingDiagnosticFactory(ERROR) {
operator fun invoke() = build("commonMain can't declare dependsOn on other source sets")
}
@@ -1 +1 @@
[CommonMainWithDependsOnDiagnostic | WARNING] commonMain can't declare dependsOn on other source sets
[CommonMainWithDependsOnDiagnostic | ERROR] commonMain can't declare dependsOn on other source sets