[Gradle] Elevate CommonMainWithDependsOnDiagnostic to error
^KT-59311 Verification Pending
This commit is contained in:
committed by
Space Team
parent
fcba0ad75e
commit
cd5e4611eb
+1
-1
@@ -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
@@ -1 +1 @@
|
||||
[CommonMainWithDependsOnDiagnostic | WARNING] commonMain can't declare dependsOn on other source sets
|
||||
[CommonMainWithDependsOnDiagnostic | ERROR] commonMain can't declare dependsOn on other source sets
|
||||
|
||||
Reference in New Issue
Block a user