[Gradle] Elevate DeprecatedJvmWithJavaPresetDiagnostic to error

^KT-59320 Verification Pending
This commit is contained in:
Anton Lakotka
2023-07-10 13:45:56 +02:00
committed by Space Team
parent cd5e4611eb
commit a55b74d4e0
2 changed files with 2 additions and 2 deletions
@@ -47,7 +47,7 @@ object KotlinToolingDiagnostics {
) )
} }
object DeprecatedJvmWithJavaPresetDiagnostic : ToolingDiagnosticFactory(WARNING) { object DeprecatedJvmWithJavaPresetDiagnostic : ToolingDiagnosticFactory(ERROR) {
operator fun invoke() = build( operator fun invoke() = build(
""" """
The 'jvmWithJava' preset is deprecated and will be removed soon. Please use an ordinary JVM target with Java support: The 'jvmWithJava' preset is deprecated and will be removed soon. Please use an ordinary JVM target with Java support:
@@ -1,4 +1,4 @@
[DeprecatedJvmWithJavaPresetDiagnostic | WARNING] The 'jvmWithJava' preset is deprecated and will be removed soon. Please use an ordinary JVM target with Java support: [DeprecatedJvmWithJavaPresetDiagnostic | ERROR] The 'jvmWithJava' preset is deprecated and will be removed soon. Please use an ordinary JVM target with Java support:
kotlin { kotlin {
jvm { jvm {