-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from skydoves/proguard/ktor
Add proguard rules and configure kmp hierachy for ktor
- Loading branch information
Showing
11 changed files
with
152 additions
and
165 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
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,2 @@ | ||
# TODO: Waiting for new retrofit release to remove these rules | ||
-keep,allowobfuscation,allowshrinking interface retrofit2.Call | ||
-keep,allowobfuscation,allowshrinking class retrofit2.Response | ||
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation | ||
# R8 full mode strips signatures from non-kept items. | ||
-dontobfuscate |
108 changes: 49 additions & 59 deletions
108
app/src/release/generated/baselineProfiles/baseline-prof.txt
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
public final class com/skydoves/sandwich/ktor/ApiResponseExtensionKt { | ||
public static final fun bodyChannel (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public static final fun bodyString (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;Ljava/nio/charset/Charset;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public static synthetic fun bodyString$default (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;Ljava/nio/charset/Charset;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; | ||
public static final fun getHeaders (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;)Lio/ktor/http/Headers; | ||
public static final fun getHeaders (Lcom/skydoves/sandwich/ApiResponse$Success;)Lio/ktor/http/Headers; | ||
public static final fun getHttpResponse (Lcom/skydoves/sandwich/ApiResponse$Success;)Lio/ktor/client/statement/HttpResponse; | ||
public static final fun getPayloadResponse (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;)Lio/ktor/client/statement/HttpResponse; | ||
public static final fun getStatusCode (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;)Lcom/skydoves/sandwich/StatusCode; | ||
public static final fun getStatusCode (Lcom/skydoves/sandwich/ApiResponse$Success;)Lcom/skydoves/sandwich/StatusCode; | ||
public static final fun getStatusCode (Lio/ktor/client/statement/HttpResponse;)Lcom/skydoves/sandwich/StatusCode; | ||
public static final fun getTagResponse (Lcom/skydoves/sandwich/ApiResponse$Success;)Lio/ktor/client/statement/HttpResponse; | ||
} | ||
|
||
public synthetic class com/skydoves/sandwich/ktor/ApiResponseExtensionKt$EntriesMappings { | ||
public static final synthetic field entries$0 Lkotlin/enums/EnumEntries; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
public final class com/skydoves/sandwich/ktor/ApiResponseExtensionKt { | ||
public static final fun bodyChannel (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public static final fun bodyString (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;Ljava/nio/charset/Charset;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public static synthetic fun bodyString$default (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;Ljava/nio/charset/Charset;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; | ||
public static final fun getHeaders (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;)Lio/ktor/http/Headers; | ||
public static final fun getHeaders (Lcom/skydoves/sandwich/ApiResponse$Success;)Lio/ktor/http/Headers; | ||
public static final fun getHttpResponse (Lcom/skydoves/sandwich/ApiResponse$Success;)Lio/ktor/client/statement/HttpResponse; | ||
public static final fun getPayloadResponse (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;)Lio/ktor/client/statement/HttpResponse; | ||
public static final fun getStatusCode (Lcom/skydoves/sandwich/ApiResponse$Failure$Error;)Lcom/skydoves/sandwich/StatusCode; | ||
public static final fun getStatusCode (Lcom/skydoves/sandwich/ApiResponse$Success;)Lcom/skydoves/sandwich/StatusCode; | ||
public static final fun getStatusCode (Lio/ktor/client/statement/HttpResponse;)Lcom/skydoves/sandwich/StatusCode; | ||
public static final fun getTagResponse (Lcom/skydoves/sandwich/ApiResponse$Success;)Lio/ktor/client/statement/HttpResponse; | ||
} | ||
|
||
public synthetic class com/skydoves/sandwich/ktor/ApiResponseExtensionKt$EntriesMappings { | ||
public static final synthetic field entries$0 Lkotlin/enums/EnumEntries; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Lcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory; | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory;-><clinit>()V | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory;-><init>()V | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory;->suspendResponseConverter(Lde/jensklingenberg/ktorfit/internal/TypeData;Lde/jensklingenberg/ktorfit/Ktorfit;)Lde/jensklingenberg/ktorfit/converter/Converter$SuspendResponseConverter; | ||
Lcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$Companion; | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$Companion;-><init>()V | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$Companion;->create()Lcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory; | ||
Lcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1; | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1;-><init>(Lde/jensklingenberg/ktorfit/internal/TypeData;)V | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1;->convert(Lde/jensklingenberg/ktorfit/converter/KtorfitResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1;->convert(Lio/ktor/client/statement/HttpResponse;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
Lcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1$convert$1; | ||
HSPLcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1$convert$1;-><init>(Lcom/skydoves/sandwich/ktorfit/ApiResponseConverterFactory$suspendResponseConverter$1;Lkotlin/coroutines/Continuation;)V |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# R8 full mode strips signatures from non-kept items. | ||
-dontwarn org.slf4j.impl.StaticLoggerBinder |
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