Remove runtime jar files version checker
... and the compiler argument -Xskip-runtime-version-check. The vast majority of warnings reported by this checker in practice has proven to be false positives. In addition to that, it was needlessly verbose, and also completely untested. If we decide to reintroduce some of these checks, it's probably a better idea to perform them in tools, such as Kotlin Gradle plugin, which usually have slightly more information about the way the project is built and can suggest some meaningful solutions (as opposed to "remove this jar $HOME/.gradle/... from the classpath" which was the best JvmRuntimeVersionsConsistencyChecker could do.) #KT-27256 Obsolete #KT-41664 Fixed
This commit is contained in:
-6
@@ -194,12 +194,6 @@ class K2JVMCompilerArguments : CommonCompilerArguments() {
|
||||
@Argument(value = "-Xuse-type-table", description = "Use type table in metadata serialization")
|
||||
var useTypeTable: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xskip-runtime-version-check",
|
||||
description = "Allow Kotlin runtime libraries of incompatible versions in the classpath"
|
||||
)
|
||||
var skipRuntimeVersionCheck: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xuse-old-class-files-reading",
|
||||
description = "Use old class files reading implementation. This may slow down the build and cause problems with Groovy interop.\n" +
|
||||
|
||||
Reference in New Issue
Block a user