[Gradle] Elevate DeprecatedJvmWithJavaPresetDiagnostic to error
^KT-59320 Verification Pending
This commit is contained in:
committed by
Space Team
parent
cd5e4611eb
commit
a55b74d4e0
+1
-1
@@ -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
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user