Benoit Marty
a5d0b47d3a
Use new retrofit bom and change Maven coordinates of `kotlinx-serialization`
7 months ago
Jorge Martin Espinosa
83861c43de
Add SDK git SHA to user agent ( #2548 )
8 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
10 months ago
Benoit Marty
140a11cf77
Ignore ktlint issue for this particular class.
10 months ago
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Benoit Marty
c919618bc0
Fix account provider change on nightly and release ( #861 )
...
* Use parallelMap (same code)
* Add proguard rules. Fixes #818
* Rename file proguard-rules.pro to consumer-rules.pro for coherency.
* Remove empty and non-referenced proguard files.
1 year ago
Benoit Marty
f4b4e4d316
Configure user agent for all network request ( #677 )
1 year ago
Benoit Marty
fe87681473
Lazy use the OkHttpClient.
1 year ago
Marco Romano
1d6f4e3c68
Network library changes ( #542 )
...
- Allows for http2
- Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency.
- Moves okhttp's dependency strings to the .toml file
- Switches off logging for release builds
1 year ago
ganfra
df29b1dd8e
[BuildMeta] introduce BuildType and remove Network related code from BuildMeta
2 years ago
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Benoit Marty
c0cb056328
Inject Lazy and then use callFactory instead of setting client manually. It'll allow to initialise retrofit/okhttp lazily.
2 years ago
Benoit Marty
a68b3f80eb
Add `:libraries:network` module
2 years ago