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

Update to Android tools v30.3.0 #988

Merged
merged 6 commits into from
Apr 4, 2024
Merged

Update to Android tools v30.3.0 #988

merged 6 commits into from
Apr 4, 2024

Conversation

jbarr21
Copy link
Contributor

@jbarr21 jbarr21 commented Apr 2, 2024

Update the Android tools version to allow for using Lint v31.3.1 or higher which is compatible with K2. Repos can choose their lint version, but to use a newer version, they need to use a compatible manifest merger version which had some breaking changes in v30.3.0.

A bump to Kotlin v1.5 was needed due to compatibility with transitive dependencies. Along the way, the sample project needed to be updates such as removing deprecated kotlin-extensions, disabling unused lints, & backporting removed methods.

@jbarr21 jbarr21 requested review from tyvsmith and gpolak April 2, 2024 22:02
.buckconfig Outdated
@@ -25,6 +25,10 @@
[java]
jar_spool_mode = direct_to_jar
duplicates_log_level = fine
compile_against_abis = false
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the plugin works in monorepo but okbuck tests are failing due to ASM in Buck trying to perform the class ABI on a java 17 class from a dependency. i'm working on a better fix

build.gradle Outdated
@@ -1,7 +1,14 @@
buildscript {
apply from: rootProject.file("dependencies.gradle")
repositories {
google()
maven {
url 'https://dl.google.com/android/maven2/'
Copy link
Member

Choose a reason for hiding this comment

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

doesn't google() exist?

Copy link
Contributor Author

@jbarr21 jbarr21 Apr 3, 2024

Choose a reason for hiding this comment

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

due to rocker and other breaking upgrades since we are on AGP 4.x, we need to set the property of the maven url to use pom instead of gradle metadata & ---we can't do this w/ google--- n/m, actually we can, so updated

@jbarr21 jbarr21 force-pushed the jb/lint-31 branch 2 times, most recently from b45630e to a911929 Compare April 3, 2024 07:15
@jbarr21 jbarr21 changed the title Update to Android tools v31.3.1 Update to Android tools v30.3.0 Apr 3, 2024
@jbarr21 jbarr21 requested a review from tyvsmith April 4, 2024 00:30
@jbarr21 jbarr21 merged commit 8b7ef45 into master Apr 4, 2024
6 checks passed
@jbarr21 jbarr21 deleted the jb/lint-31 branch April 4, 2024 02:15
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