Skip to content

Conversation

@jbartok
Copy link
Member

@jbartok jbartok commented Oct 16, 2025

Context

Contributor Checklist

  • Review Contribution Guidelines.
  • Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
  • Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
  • Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team.
  • Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective.
  • Provide unit tests (under <subproject>/src/test) to verify logic.
  • Update User Guide, DSL Reference, and Javadoc for public-facing changes.
  • Ensure that tests pass sanity check: ./gradlew sanityCheck.
  • Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest.

Reviewing cheatsheet

Before merging the PR, comments starting with

  • ❌ ❓must be fixed
  • 🤔 💅 should be fixed
  • 💭 may be fixed
  • 🎉 celebrate happy things

@jbartok jbartok self-assigned this Oct 16, 2025
@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch from 8d34c3f to 15cb54b Compare October 20, 2025 06:28
@jbartok jbartok changed the title Attempt to upgrade embeded Lotlin to 2.3.0-Beta1 Attempt to upgrade embeded Kotlin to 2.3.0-Beta1 Oct 20, 2025
@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch 6 times, most recently from e57178a to 0565554 Compare October 25, 2025 09:03
@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch 2 times, most recently from c97c9b7 to 2adb847 Compare November 3, 2025 11:03
@jbartok

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@jbartok

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch 3 times, most recently from 0b58fc9 to 18995a6 Compare November 4, 2025 09:21
@jbartok

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@jbartok

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@bot-gradle

This comment has been minimized.

@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch from 18995a6 to 75fec99 Compare November 5, 2025 08:12
@jbartok jbartok changed the title Attempt to upgrade embeded Kotlin to 2.3.0-Beta1 Attempt to upgrade embeded Kotlin to 2.3.0-BetaX Nov 5, 2025
@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch 2 times, most recently from 2b29279 to 4e2f097 Compare November 6, 2025 09:36
@jbartok jbartok force-pushed the jb/tide/upgrade-embeded-kotlin-to-2.3.0-Beta1 branch from 74a1bfa to 3eb445f Compare December 18, 2025 08:16
@jbartok
Copy link
Member Author

jbartok commented Dec 18, 2025

@bot-gradle test APT AST

@bot-gradle

This comment has been minimized.

@bot-gradle
Copy link
Collaborator

@bot-gradle
Copy link
Collaborator

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
Copy link
Member

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}")
}
}
)
Copy link
Member

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)
Copy link
Member

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?

Copy link
Member

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

Copy link
Member

@eskatos eskatos left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:chore Minor issue without significant impact in:kotlin-dsl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kotlin DSL fails with a compilation error in 9.2.0 if unicode symbols are present in gradle user home

5 participants