[Gradle] fix functional tests after deprecating API
In KotlinDependencyHandler ^KT-58759 Verification Pending
This commit is contained in:
committed by
Space Team
parent
c49f08f427
commit
effe902c69
+10
-2
@@ -441,7 +441,11 @@ class ConfigurationsTest : MultiplatformExtensionTest() {
|
||||
jvm()
|
||||
sourceSets.getByName("jvmMain").apply {
|
||||
dependencies {
|
||||
api(platform("test:platform-dependency:1.0.0"))
|
||||
api(
|
||||
// Deprecated in KT-58759, remove test after deletion
|
||||
@Suppress("DEPRECATION")
|
||||
platform("test:platform-dependency:1.0.0")
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -464,7 +468,11 @@ class ConfigurationsTest : MultiplatformExtensionTest() {
|
||||
}
|
||||
sourceSets.getByName("browserMain").apply {
|
||||
dependencies {
|
||||
implementation(enforcedPlatform("test:enforced-platform-dependency"))
|
||||
implementation(
|
||||
// Deprecated in KT-58759, remove test after deletion
|
||||
@Suppress("DEPRECATION")
|
||||
enforcedPlatform("test:enforced-platform-dependency")
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user