Skip to content
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

fix: check androidX version at early build process before really launching build #4388

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

freeboub
Copy link
Collaborator

Summary

Try to improve developer experience by checking androidX version before launching the build

Motivation

fix: #4387

Changes

check used androidX version before launching build process

Test plan

On sample

@freeboub freeboub merged commit 638f454 into master Jan 25, 2025
5 checks passed
@@ -35,6 +38,11 @@ buildscript {
} else {
println("Kotlin version is correct: $kotlin_version")
}
if (!isVersionAtLeast(androidx_version, requiredAndroidxVersion)) {
throw new GradleException("AndroidX version mismatch: Project is using Kotlin version $requiredAndroidxVersion, but it must be at least $requiredAndroidxVersion. Please update the Kotlin version.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

@freeboub
It says about Kotlin version, so I think that should be fixed

Copy link
Contributor

Choose a reason for hiding this comment

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

It is not fixed in the release.
Also, it mentions requiredAndroidxVersion instead of androidx_version for the project's current AndroidX version.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ping @freeboub

Copy link
Collaborator

@YangJonghun YangJonghun Feb 19, 2025

Choose a reason for hiding this comment

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

Oh, nvm. it already fixed within #4420
thanks @ThomasGuenard

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.

[BUG]: Unresolved references in PictureInPictureUtil.kt
3 participants