-
Notifications
You must be signed in to change notification settings - Fork 605
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
Conversation
1752b31
to
6891537
Compare
There was a problem hiding this 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
build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt
Outdated
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/com/google/accompanist/KotlinAndroid.kt
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/AndroidLibraryPublishedConventionPlugin.kt
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/com/google/accompanist/AndroidCompose.kt
Outdated
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/com/google/accompanist/KotlinAndroid.kt
Outdated
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/com/google/accompanist/KotlinAndroid.kt
Outdated
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/com/google/accompanist/KotlinAndroid.kt
Outdated
Show resolved
Hide resolved
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
I decided to clean up the Gradle files for Accompanist while upgrading to Kotlin 2.0