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:
committed by
Space Team
parent
1f649b698c
commit
eb4e96a113
@@ -89,6 +89,14 @@ dependencies {
|
||||
exclude(group = "*")
|
||||
}
|
||||
|
||||
// Adding workaround KT-57317 for Gradle versions where Kotlin runtime <1.8.0
|
||||
mainEmbedded(project(":kotlin-build-tools-enum-compat"))
|
||||
gradle70Embedded(project(":kotlin-build-tools-enum-compat"))
|
||||
gradle71Embedded(project(":kotlin-build-tools-enum-compat"))
|
||||
gradle74Embedded(project(":kotlin-build-tools-enum-compat"))
|
||||
gradle75Embedded(project(":kotlin-build-tools-enum-compat"))
|
||||
gradle76Embedded(project(":kotlin-build-tools-enum-compat"))
|
||||
|
||||
testCompileOnly(project(":compiler"))
|
||||
testCompileOnly(project(":kotlin-annotation-processing"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user