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

Don't auto update Kotlin version + KSP #20

Merged
merged 1 commit into from Nov 22, 2021
Merged

Don't auto update Kotlin version + KSP #20

merged 1 commit into from Nov 22, 2021

Conversation

hvisser
Copy link
Contributor

@hvisser hvisser commented Nov 22, 2021

Add component selection rules rejecting any Kotlin version that does not match the version in the libs.version.toml file. The effect of this is that the Kotlin version will always require a manual version bump and will not be updated with ./gradlew versionCatalogUpdate, which is probably the safest since Compose is also tied to a specific Kotlin version.

For KSP any version that does not match the specified Kotlin version is rejected so that the KSP and Kotlin versions should always match.

This adds component selection rules, so that only
the version specified in the toml file is
accepted for the Kotlin version, it's never
automatically updated as a result.

As KSP requires a specific Kotlin version, any
version that does not match the kotlin version
is also rejected.

To update both we can manually bump the Kotlin
version in the toml file.
@rock3r
Copy link
Member

rock3r commented Nov 22, 2021

Thanks Hugo! 🙌

@rock3r rock3r merged commit 35e4de1 into code-with-the-italians:material_you Nov 22, 2021
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.

None yet

2 participants