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

Safer dependencies #4670

Merged
merged 20 commits into from
Dec 13, 2021
Merged

Safer dependencies #4670

merged 20 commits into from
Dec 13, 2021

Conversation

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

Unit Test Results

  66 files  ±0    66 suites  ±0   55s ⏱️ -10s
135 tests ±0  135 ✔️ ±0  0 💤 ±0  0 ±0 
418 runs  ±0  418 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 7c2ed46. ± Comparison against base commit 2c8cc3e.

♻️ This comment has been updated with latest results.

build.gradle Outdated
}
mavenCentral {
content {
includeGroup 'com.adevinta.android'
Copy link
Member Author

@bmarty bmarty Dec 10, 2021

Choose a reason for hiding this comment

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

if only we had a way to externalize those lists into another file...
includeGroup does not support taking a list as param

Copy link
Contributor

Choose a reason for hiding this comment

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

let me check if that is possible

@bmarty bmarty marked this pull request as ready for review December 10, 2021 08:30
@bmarty
Copy link
Member Author

bmarty commented Dec 10, 2021

@ariskotsomitopoulos thanks for your proposal solution. I have updated it a bit. Please let me know what you think.

@ariskotsomitopoulos
Copy link
Contributor

@ariskotsomitopoulos thanks for your proposal solution. I have updated it a bit. Please let me know what you think.

Yes +1, nice changes! I agree

configurations {
// videocache includes a sl4j logger which causes mockk to attempt to call the static android Log
testImplementation.exclude group: 'org.slf4j', module: 'slf4j-android'
}
Copy link
Member Author

Choose a reason for hiding this comment

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

As I removed videocache, I thought I could remove this as well. But maybe double check with @ouchadam first. And I just see that it's still needed: https://github.com/vector-im/element-android/pull/4670/files#diff-f6dc61a00090b6fc204667d7934e656dbb78c8bb0dc14f95468dd57b4300a8caR177

Copy link
Contributor

Choose a reason for hiding this comment

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

if videocache is removed then removing this is also fine 👍 (the unit tests will fail if not)

}
}
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
Copy link
Member Author

Choose a reason for hiding this comment

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

I am not sure why it has been added at first place, but it seems not necessary anymore 🤞

@bmarty bmarty requested a review from ouchadam December 11, 2021 11:37
Copy link
Contributor

@ouchadam ouchadam left a comment

Choose a reason for hiding this comment

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

great change! 💯 (might even have a little bit of a build speed improvement 🤞 )

@bmarty bmarty merged commit a6dec7b into develop Dec 13, 2021
@bmarty bmarty deleted the feature/bma/safer_dependencies branch December 13, 2021 10:30
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