[kotlin] fix "IllegalStateException: Could not find stdlib"
The commit removes all the KLib resolution logic, now Analysis API Standalone clients need to provide all the KLib list directly. The resolution logic was removed as too error-prone and requiring compiler configurations. Kotlin Gradle plugin can provide a full set of required KLibs, so if a client is a Gradle plugin, this should not be an issue. Probably, some fancy API which will explicitly perform all KLib dependency searches should be introduced in the future (KT-63395) ^KT-63126 fixed
This commit is contained in:
committed by
Space Team
parent
1c17f4a835
commit
6aeabc83ea
@@ -14,4 +14,8 @@ tasks.register("analysisAllTests") {
|
||||
":analysis:low-level-api-fir:test",
|
||||
":analysis:symbol-light-classes:test"
|
||||
)
|
||||
|
||||
if (kotlinBuildProperties.isKotlinNativeEnabled) {
|
||||
dependsOn(":analysis:analysis-api-standalone:analysis-api-standalone-native:test")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user