-
Notifications
You must be signed in to change notification settings - Fork 294
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
Update kotlin to 1.4.20 #169
Conversation
This PR updates kotlin base version to 1.4.20. Visibilities has moved to DescriptorVisibilties. JavaVisibilities has moved to JavaDescriptorVisibilities Test configuration now requires a backend, I picked JVM Updated intellij base version to 202.8194.7 Updated intellij gradle plugin to 0.6.4 One unexpected changes is that seems like testing prebuilt now also requires mutes. I've added that jar as well. Fixes: google#168
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is my commit on updating to latest commit HEAD, it looks to be different, could be a further change on visibility related code.
@@ -1,7 +1,7 @@ | |||
# Copied from kotlinc | |||
org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8 | |||
|
|||
kotlinBaseVersion=1.4.10 | |||
intellijVersion=193.6494.35 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is necessary, I have a commit without this change but still works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my tests were failing until i updated intellijVersion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i tried reverting it but then tests fail with:
'void com.intellij.core.CoreApplicationEnvironment.registerExtensionPointAndExtensions(java.nio.file.Path, java.lang.String, com.intellij.openapi.extensions.ExtensionsArea)'
java.lang.NoSuchMethodError: 'void com.intellij.core.CoreApplicationEnvironment.registerExtensionPointAndExtensions(java.nio.file.Path, java.lang.String, com.intellij.openapi.extensions.ExtensionsArea)'
at org.jetbrains.kotlin.cli.jvm.compiler.CoreApplicationEnvironmentCompatKt.registerExtensionPointAndExtensionsEx(coreApplicationEnvironmentCompat.kt:17)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerApplicationExtensionPointsAndExtensionsFrom(KotlinCoreEnvironment.kt:537)
so your tests pass w/o this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, my change is without test enabled due to test-mutes module issue, then it makes sense to upgrade intellij version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
i added the test-mutes here to fix that, seems to be working fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i also tried breaking a test to ensure they are really run :)
LGTM, I'll merge it before next release. |
This PR updates kotlin base version to 1.4.20.
Visibilities has moved to DescriptorVisibilties.
JavaVisibilities has moved to JavaDescriptorVisibilities
Test configuration now requires a backend, I picked JVM
Updated intellij base version to 202.8194.7
Updated intellij gradle plugin to 0.6.4
One unexpected changes is that seems like testing prebuilt
now also requires mutes. I've added that jar as well.
Fixes: #168