How to update Kotlin stdlib from 1.2 to 1.3 in IDE...
# announcements
q
How to update Kotlin stdlib from 1.2 to 1.3 in IDEA? When i try
mvn clean install
i have get an error:
Copy code
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.3.31:compile (compile) on project altyn-i-website: Compilation failure: Compilation failure:
[ERROR] ...Service.kt:[6,22] Unresolved reference: Random
But i can run my app from IDEA successfully
i
If you're sure that you depend on the right version of the stdlib, the other reason why the new declarations can be unavailable is
apiVersion
or
languageVersion
configuration property set to 1.2