-
Notifications
You must be signed in to change notification settings - Fork 110
Upgrading to version 0.6.2 compilation failed. #482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
@dkhalanskyjb I just tried it:
run will report Unresolved reference 'datetime'. |
Could not reproduce: after following your instructions (and also adding some code that uses |
@dkhalanskyjb I tried again, only modifying gradle=8.12.1, and it still got an error. IDE = IntelliJ IDEA Community 2024.3.2.2 That might be an issue with my development environment😁 |
Does running the application from the console succeed? If it's just an IDE error, then it should be reported to the IDE team at https://kotl.in/issue . |
And I reported it CMP-7438 has a similar issue, I'll check back if I can upgrade to a new CMP version in the future😁 |
Welcome to Gradle 8.12.1! Here are the highlights of this release:
For more details see https://docs.gradle.org/8.12.1/release-notes.html Type-safe project accessors is an incubating feature.
[Incubating] Problems report is available at: file:///var/home/IdeaProjects/KotlinProject/build/reports/problems/problems-report.html FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 1s |
If you send me a zip archive with the project where this happens, I'll check to see if it runs on my machine. |
@dkhalanskyjb It feels like this is an IntelliJ IDEA bug, I updated to IntelliJ IDEA 2024.3.3 and the update was successful. 👍🏼 |
Unresolved reference 'datetime'.
If you switch
kotlinx-datetime
tokotlinx-datetime-jvm
incommonMain
, it will run successfully.androidGradlePlugin = "8.8.0"
composeMultiplatform(Android+Desktop) = "1.7.3"
kotlin = "2.1.10"
gradle = 8.12.1
The text was updated successfully, but these errors were encountered: