-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/release setup (Android) (#151)
* - bump android apps versions * - release configuration for android apps, including naming, versioning and proguard settings for each app * - updated ci config
- Loading branch information
Showing
9 changed files
with
393 additions
and
6 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
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,75 @@ | ||
# Bisq Cli proguard file | ||
|
||
## Ktor | ||
### Keep Ktor Client Core | ||
-keep class io.ktor.** { *; } | ||
-keepattributes *Annotation* | ||
|
||
### Avoid removing reflective access needed by Ktor's serialization | ||
-keepnames class kotlinx.serialization.** { *; } | ||
|
||
### The following were suggested by R8 engine, should be reviewed carefully on release build testing | ||
-dontwarn java.lang.management.ManagementFactory | ||
-dontwarn java.lang.management.RuntimeMXBean | ||
-dontwarn org.gradle.api.Action | ||
-dontwarn org.gradle.api.Named | ||
-dontwarn org.gradle.api.Plugin | ||
-dontwarn org.gradle.api.Task | ||
-dontwarn org.gradle.api.artifacts.Dependency | ||
-dontwarn org.gradle.api.artifacts.ExternalModuleDependency | ||
-dontwarn org.gradle.api.attributes.Attribute | ||
-dontwarn org.gradle.api.attributes.AttributeCompatibilityRule | ||
-dontwarn org.gradle.api.attributes.AttributeContainer | ||
-dontwarn org.gradle.api.attributes.AttributeDisambiguationRule | ||
-dontwarn org.gradle.api.attributes.HasAttributes | ||
-dontwarn org.gradle.api.component.SoftwareComponent | ||
-dontwarn org.gradle.api.plugins.ExtensionAware | ||
-dontwarn org.gradle.api.tasks.util.PatternFilterable | ||
|
||
## General | ||
|
||
# Keep Kotlin Metadata | ||
-keepattributes KotlinMetadata | ||
|
||
# Keep KMP Framework Class Names | ||
-keep class kotlinx.** { *; } | ||
|
||
# Avoid stripping enums used by KMP | ||
-keepclassmembers enum * { | ||
public static **[] values(); | ||
public static ** valueOf(java.lang.String); | ||
} | ||
|
||
# Keep Compose Compiler Intrinsics | ||
-keep class androidx.compose.runtime.** { *; } | ||
-keep class androidx.compose.foundation.** { *; } | ||
-keep class androidx.compose.material.** { *; } | ||
|
||
# Keep Compose Preview Annotations (if using Android Studio Preview) | ||
-keep @androidx.compose.ui.tooling.preview.Preview class * { *; } | ||
|
||
# Keep Composer Intrinsics | ||
-keep class androidx.compose.runtime.internal.ComposableLambdaImpl { *; } | ||
|
||
# Keep all classes annotated with @Composable | ||
-keep class * { | ||
@androidx.compose.runtime.Composable *; | ||
} | ||
|
||
# Keep Compose compiler metadata | ||
-keepattributes *Annotation* | ||
|
||
# Keep Jetpack Compose runtime classes | ||
-keep class androidx.compose.** { *; } | ||
|
||
# Keep Kotlin metadata | ||
-keep class kotlin.Metadata { *; } | ||
-keepattributes InnerClasses | ||
-keepattributes EnclosingMethod | ||
|
||
# Keep Koin classes and avoid stripping DI components | ||
-keep class org.koin.** { *; } | ||
-keepclassmembers class * { | ||
@org.koin.core.annotation.* <fields>; | ||
@org.koin.core.annotation.* <methods>; | ||
} |
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,3 @@ | ||
<resources> | ||
<string name="app_name">Bisq Cli (debug)</string> | ||
</resources> |
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
Oops, something went wrong.