-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wildcards in Retrofit services and increase read timeout (#40)
Fix issues found using the feature preview spec: - Add `@JvmSuppressWildcards` to avoid runtime Retrofit errors. When specs generate strongly typed code, such as `kotlin.collections.List<ApiType>`, for Java interop this is `java.util.List<? extends ApiType>` which is not allowed by Retrofit. - Increase default read timeout and support overriding it, as some endpoints would timeout with default 10s - Also add full request logging if debugLoggingEnabled and fix overriding `-Pversion`, which was always overwritten by the buildscipt
- Loading branch information
1 parent
d129900
commit dc35d41
Showing
6 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
org.gradle.jvmargs=-Xmx5g | ||
org.gradle.caching=true | ||
version=SNAPSHOT | ||
# Must be later than 2022.1 | ||
gradle.enterprise.version=2022.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters