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

Upgrading the repo dependencies and tooling to current android standards #213

Merged
merged 9 commits into from
Feb 20, 2024

Conversation

lalwani
Copy link
Collaborator

@lalwani lalwani commented Feb 20, 2024

The repo was not updated for several years so this diff contains a bunch of upgrades to modernize the repo.

  • Gradle 8.2.1
  • Migrate to kotlin gradle dsl
  • Migrating to using versions catalog instead of dependency.gradle
  • AGP 8.2
  • Updating build to use jdk 17 because AGP requires a gradle JVM that supports version 17
  • Updating the plugin to publish to maven central https://vanniktech.github.io/gradle-maven-publish-plugin
  • Using dokka 1.9
  • Targeting android sdk 34
  • Updated testing libs roboletric and junit
  • Removed a few other deprecated plugins due to this migration
  • Updated the workflow

@lalwani lalwani changed the title 2.x Upgrading the repo to current android standards Feb 20, 2024
}
}

pluginManager.withPlugin("com.android.library") {

Choose a reason for hiding this comment

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

Have you considered the includedBuilds approach for configuring the modules? As we did in RIBs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I haven't looked at how it's done in RIBs repo so not sure what you mean.
What's the benefit? I can check it later and update the gradle file if needed

@lalwani lalwani merged commit 97effab into uber:2.x Feb 20, 2024
8 checks passed
@lalwani lalwani changed the title Upgrading the repo to current android standards Upgrading the repo dependencies and tooling to current android standards Jul 31, 2024
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