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

Upgrade to Kotlin 2.0.20 and move to build-logic for Gradle #1802

Merged
merged 7 commits into from
Dec 10, 2024

Conversation

bentrengrove
Copy link
Collaborator

I decided to clean up the Gradle files for Accompanist while upgrading to Kotlin 2.0

Base automatically changed from ben/removeinsetsui to main November 26, 2024 20:10
@bentrengrove bentrengrove changed the title [WIP] Upgrade to Kotlin 2.0.20 and move to build-logic for Gradle Upgrade to Kotlin 2.0.20 and move to build-logic for Gradle Dec 9, 2024
@bentrengrove bentrengrove marked this pull request as ready for review December 9, 2024 00:34
Copy link
Collaborator

@mlykotom mlykotom left a comment

Choose a reason for hiding this comment

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

LGTM, but I think would be better if someone else also takes a look

gradle/libs.versions.toml Show resolved Hide resolved
build.gradle Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
sample/build.gradle.kts Show resolved Hide resolved
Comment on lines +86 to +87
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Copy link
Collaborator

Choose a reason for hiding this comment

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

If I understand correctly, this will require consuming projects to build with at least JDK 17, since permissions-lint is consumed at Gradle build time.

That SGTM, given that AGP has required that level for a while now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah that's how I understand it as well but I wasn't 100% sure if it was right. Changing it to 1.8 though fails to build

@bentrengrove bentrengrove merged commit ebd1567 into main Dec 10, 2024
9 checks passed
@bentrengrove bentrengrove deleted the ben/buildlogic branch December 10, 2024 19:37
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.

3 participants