Revert "[Gradle][Tests][MPP] Move BETA-versions test logic in MPPBaseTest"

This reverts commit 5beba0acc6.
This commit is contained in:
Pavel Kargashinsky
2023-04-03 11:30:43 +02:00
parent acd6883777
commit b2724ad19f
2 changed files with 2 additions and 20 deletions
@@ -1,20 +0,0 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.testbase
/** Beta versions of Gradle and AGP are checking in multiplatform related tests.
* Bumped manually.
*/
const val BETA_GRADLE = TestVersions.Gradle.G_8_0
const val BETA_AGP = TestVersions.AGP.AGP_80
/**
* Base class for all Multiplatform Gradle plugin Kotlin integration tests.
*/
@AndroidTestVersions(additionalVersions = [BETA_AGP])
@GradleTestVersions(maxVersion = BETA_GRADLE, additionalVersions = [TestVersions.Gradle.MAX_SUPPORTED])
abstract class MPPBaseTest : KGPBaseTest() {
}
@@ -26,6 +26,7 @@ interface TestVersions {
const val MIN_SUPPORTED = minSupportedGradleVersion
const val MIN_SUPPORTED_KPM = G_7_0
const val MAX_SUPPORTED = G_7_6
const val NEXT_RELEASE = G_8_0
}
object Kotlin {
@@ -47,6 +48,7 @@ interface TestVersions {
const val MIN_SUPPORTED = AGP_42 // KotlinAndroidPlugin.minimalSupportedAgpVersion
const val MAX_SUPPORTED = AGP_74 // Update once Gradle MAX_SUPPORTED version will be bumped
const val NEXT_RELEASE = AGP_80
}
enum class AgpCompatibilityMatrix(