Skip to content

Conversation

fzhinkin
Copy link
Collaborator

No description provided.

@fzhinkin fzhinkin requested a review from shanshin December 11, 2024 16:56
@fzhinkin fzhinkin changed the title Updated Kotlin to 2.1 and also update a few other dependencies Updated Kotlin to 2.1 and also updated a few other dependencies Dec 11, 2024
@@ -22,7 +22,7 @@ kotlin {
freeCompilerArgs.add("-Xexpect-actual-classes")
}

val versionCatalog: VersionCatalog = extensions.getByType<VersionCatalogsExtension>().named("libs")
val versionCatalog: VersionCatalog = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was that necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way extensions resolved changed in 2.1.0. Previously it was project.extensions, now it is KotlinProjectExtension.extensions.

@fzhinkin fzhinkin merged commit 77b165c into develop Feb 6, 2025
1 check passed
@fzhinkin fzhinkin deleted the kotlin-2.1 branch February 6, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants