Add kotlin-build-tools-enum-compat workaround

It acts as a workaround for the case when build tools or dependencies
are compiled with latest 'kotlin-stdlib' version, but at a runtime older
 'kotlin-stdlib' is provided, which does not know about new
 `EnumEntries`.

 ^KT-57317 Fixed
This commit is contained in:
Yahor Berdnikau
2023-04-17 11:46:09 +02:00
committed by Space Team
parent 1f649b698c
commit eb4e96a113
25 changed files with 174 additions and 128 deletions
+4 -1
View File
@@ -16,4 +16,7 @@ dependencies {
@Suppress("UNCHECKED_CAST")
val embeddedDependencies = rootProject.extra["kotlinJpsPluginEmbeddedDependencies"] as List<String>
publishProjectJars(embeddedDependencies + listOf(":jps:jps-plugin", ":jps:jps-common"), libraryDependencies = listOf(protobufFull()))
publishProjectJars(
embeddedDependencies + listOf(":jps:jps-plugin", ":jps:jps-common"),
libraryDependencies = listOf(protobufFull())
)