-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fix #2882: Build bazel for util/profile #2915
Fix #2882: Build bazel for util/profile #2915
Conversation
…y to the MIGRATED_PROD_FILES of the utility module's root BUILD.bazel file. Added the libraries to the list of deps dependencies in the targets that require the library
@BenHenning @fsharpasharp PTAL |
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.
Looks good! Added two small comments.
utility/BUILD.bazel
Outdated
@@ -41,6 +42,7 @@ kt_android_library( | |||
"//third_party:com_github_bumptech_glide_glide", | |||
"//third_party:com_google_guava_guava", | |||
"//third_party:org_jetbrains_kotlinx_kotlinx-coroutines-core", | |||
"//utility/src/main/java/org/oppia/android/util/profile:directory_management_util", |
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.
We're eventually going to remove this library. If possible, try to add this dependency closer to where it is used.
I see two files that depend on it, not including the test, in the domain and the data modules.
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.
@fsharpasharp So should I add this in the BUILD.bazel files of the domain and data modules? I think that will make sure no issues occur when the library is removed?
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.
Yes, sounds good and remove directory_management_util from this list of dependencies.
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.
@fsharpasharp PTAL now, I've done the necessary changes. I forgot to tag you.
… the package does.
@BenHenning I'm seeing a lot of test failures for maven-dagger and it all points to something regarding jcenter and chaos-pinview. Should we create an issue for this? Seems like another round of flaky tests. |
…age and removed it from the utility/BUILD.bazel file.
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.
Thanks @Victor-Titan! Just one nit comment, otherwise this LGTM.
utility/src/main/java/org/oppia/android/util/profile/BUILD.bazel
Outdated
Show resolved
Hide resolved
@fsharpasharp PTAL |
Ah @Victor-Titan sorry I missed your earlier issue. JCenter was having some outages a few days ago, but I did file #2923 to eventually move off of it. |
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.
Thanks @Victor-Titan! LGTM.
Gradle failure looks like #2844. Restarting & enabling auto-merge. |
Explanation
Fixes #2882
Checklist