-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Upgrade embeded Kotlin to 2.3.0
#35339
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
base: master
Are you sure you want to change the base?
Conversation
8d34c3f to
15cb54b
Compare
2.3.0-Beta12.3.0-Beta1
e57178a to
0565554
Compare
c97c9b7 to
2adb847
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
0b58fc9 to
18995a6
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
18995a6 to
75fec99
Compare
2.3.0-Beta12.3.0-BetaX
2b29279 to
4e2f097
Compare
with the new version of the `kotlin-dsl` plugin that has just been published
74a1bfa to
3eb445f
Compare
|
@bot-gradle test APT AST |
This comment has been minimized.
This comment has been minimized.
|
The following builds have passed: |
|
The following builds have failed: |
| private static final JavaVersion MAX_SUPPORTED_JAVA_VERSION = | ||
| JavaVersion.forClassVersion( | ||
| JvmTarget.values().max { it.majorVersion }.majorVersion | ||
| JvmTarget.values().max { it.majorVersion }.majorVersion |
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.
💅 Spurious space
| pattern.replaceAll("current", "${INSTALLATION_GRADLE_VERSION.baseVersion.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.
❓ IIUC these changes are not necessary anymore, are they? If yes, we should find another way because this feels just wrong.
| .withStackTraceChecksDisabled() | ||
| // Following lines from the deprecation warning look very much like stack traces, and they confuse our stack trace detection mechanisms... | ||
| // apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_1) | ||
| // languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_1) |
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 thought you took a stab at updating the regex detection stacktrace, didn't you?
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 can be addressed in a follow up and doesn't block merging this PR
eskatos
left a comment
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.
LGTM 👍
Please address my comments from the previous review before merging, they are only about test and fixtures.
K1Deprecationopt-ins before Kotlin 2.3.0 #34952Context
Contributor Checklist
<subproject>/src/integTest) to verify changes from a user perspective.<subproject>/src/test) to verify logic../gradlew sanityCheck../gradlew <changed-subproject>:quickTest.Reviewing cheatsheet
Before merging the PR, comments starting with