-
Notifications
You must be signed in to change notification settings - Fork 731
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
:vector-app
level variants
#6788
Conversation
SonarCloud Quality Gate failed. |
84e5a38
to
8b5a49c
Compare
b53184b
to
22ce829
Compare
8b5a49c
to
c773eda
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, thanks, just one question.
exclude group: 'com.google.android.gms', module: 'play-services-location' | ||
} | ||
fdroidApi(libs.maplibre.pluginAnnotation) { | ||
api(libs.maplibre.pluginAnnotation) { |
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.
Will we have a pb here for gplay
? group exclusion was not active for this variant. Just to double check.
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.
it's excluded from the mapLibre
dependency and then added back at the application level for the gPlay variant https://github.com/vector-im/element-android/pull/6788/files#diff-6998d5441936ca2baa15113a1f9f709549aeaaf929fedc553b94a67cc9a94833R374
3800c66
to
d1b3104
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, thanks for the update.
@@ -12,6 +12,7 @@ org.gradle.jvmargs=-Xmx4g -Xms512M -XX:MaxPermSize=2048m -XX:MaxMetaspaceSize=1g | |||
org.gradle.configureondemand=true | |||
org.gradle.parallel=true | |||
org.gradle.vfs.watch=true | |||
org.gradle.caching=true |
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.
I have heard that enabling cache can be slower on the CI because it can take more time to retrieve and unzip the cache than download everything again. Do you have any thoughts on 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.
this gradle flag enables the build cache, which relative to the existing gradle cache we're already saving on the CI is only about 300MB~ more
Current CI ~1925 MB
https://github.com/vector-im/element-android/runs/8282616819?check_suite_focus=true
With build caching ~2197 MB
https://github.com/vector-im/element-android/runs/8309095369?check_suite_focus=true
is about 15 seconds slower~
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.
OK, thanks for checking the duration!
|
||
buildFeatures { | ||
viewBinding true | ||
} |
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.
Sorry, I had removed this in #7014 because it was not used. There are maybe other changes to revert on my PR.
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.
I'll smoke test the different builds 🤞 this was added as it's now used by the debug fragments
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.
can confirm fdroid, nightly, debug and release builds can log in and send a message
<activity android:name="im.vector.app.features.debug.DebugMenuActivity" /> | ||
<activity android:name="im.vector.app.features.debug.leak.DebugMemoryLeaksActivity" /> | ||
|
||
<activity |
Check warning
Code scanning / SonarCloud
Restrict access to exported components with appropriate permissions
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.
re-adding comment - this is a debug only manifest ^^^
…erage to avoid needing to specify every module
- fixes the androidTests expecting a shortcuts xml
8a6ad06
to
e9d15b4
Compare
|
SonarCloud Quality Gate failed. |
We do not use `android-embedded_fcm_distributor` anymore (since #7068). The code was compiling this `android-embedded_fcm_distributor` has a dependency on `firebase-messaging`.
We do not use `android-embedded_fcm_distributor` anymore (since #7068). The code was compiling because `android-embedded_fcm_distributor` has a dependency on `firebase-messaging`.
…regression Fix regression on our dependency, due to merge of #6788.
Type of change
Content
Motivation and context
To help improve the compilation time
Screenshots / GIFs
No UI changes
Tests
Tested devices