[mpp] Set the minimum supported gradle to 6.8.3 (same as in KGP)

KGP supports only Gradle since 6.8.3, and we run tests on
buildserver only since this version, so we shouldn't try to work if
gradle < 6.8.3.
And in general in MPP plugin we shouldn't support version that is not
supported in KGP

#KT-59278
This commit is contained in:
Stanislav Erokhin
2023-07-28 15:32:32 +02:00
committed by Space Team
parent 0a469ff3b9
commit b3236c5824
@@ -40,7 +40,7 @@ import org.jetbrains.kotlin.statistics.metrics.StringMetrics
class KotlinMultiplatformPlugin : Plugin<Project> {
override fun apply(project: Project) {
checkGradleCompatibility("the Kotlin Multiplatform plugin", GradleVersion.version("6.0"))
checkGradleCompatibility("the Kotlin Multiplatform plugin")
runDeprecationDiagnostics(project)
project.plugins.apply(JavaBasePlugin::class.java)