DisableCacheInKotlinVersion

Provides type-safe constants for Kotlin versions, used in the DSL to disable the native cache.

Disabling the native cache is not recommended and should only be used as a temporary workaround. This class follows a rolling deprecation cycle to ensure that any cache-disabling configuration is reviewed after a Kotlin update.

Only the three most recent versions are included:

  • N (Latest): The version constant is available.

  • N-1 (Deprecated): The constant is marked with a deprecation warning.

  • N-2 (Error): The constant is marked with a deprecation error.

  • N-3 (Dropped): The constant is removed, causing a compilation failure.

This forces a review of the cache-disabling configuration. If the problem is resolved, remove the DSL entry. If not, update to the latest version constant.

Since

2.3.20

Inheritors

Types

Link copied to clipboard

Represents the Kotlin version constant for 2.3.20.

Link copied to clipboard

Represents the Kotlin version constant for 2.4.0.

Properties

Link copied to clipboard
val major: Int

The major version number.

Link copied to clipboard
val minor: Int

The minor version number.

Link copied to clipboard
val patch: Int

The patch version number.

Functions

Link copied to clipboard
open operator override fun compareTo(other: DisableCacheInKotlinVersion): Int

Compares this version to another version.

Link copied to clipboard
open override fun toString(): String

Returns the string representation of this version (e.g., 'v2_3_0').