Skip to content

Commit

Permalink
prepare 3.1.3 release (#154)
Browse files Browse the repository at this point in the history
## [3.1.3] - 2022-02-24
### Fixed
- Add explicit proguard directives for keeping BroadcastReceivers
- Bump version of git-publish gradle plugin from 3.0.0 to 3.0.1.
  • Loading branch information
louis-launchdarkly authored Feb 24, 2022
1 parent 1a09b9b commit d1ac26e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

All notable changes to the LaunchDarkly Android SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [3.1.3] - 2022-02-24
### Fixed
- Add explicit proguard directives for keeping BroadcastReceivers
- Bump version of git-publish gradle plugin from 3.0.0 to 3.0.1.

## [3.1.2] - 2021-12-17
### Fixed
- Bump version of gson dependency from 2.8.6 to 2.8.9.
Expand Down
2 changes: 1 addition & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ dependencies {

implementation(project(":launchdarkly-android-client-sdk"))
// Comment the previous line and uncomment this one to depend on the published artifact:
//implementation("com.launchdarkly:launchdarkly-android-client-sdk:3.1.2")
//implementation("com.launchdarkly:launchdarkly-android-client-sdk:3.1.3")
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
version=3.1.2
version=3.1.3

sonatypeUsername=
sonatypePassword=
Expand Down
2 changes: 1 addition & 1 deletion launchdarkly-android-client-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("com.android.library")
id("signing")
id("maven-publish")
id("org.ajoberstar.git-publish") version "3.0.0"
id("org.ajoberstar.git-publish") version "3.0.1"
id("com.getkeepsafe.dexcount")
}

Expand Down
24 changes: 11 additions & 13 deletions launchdarkly-android-client-sdk/consumer-proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ~/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
# LaunchDarkly Android SDK proguard rules
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:
# For more details, see https://developer.android.com/studio/build/shrink-code

-keep class com.launchdarkly.sdk.LDValue { <fields>; }
-keep class * extends com.launchdarkly.sdk.LDValue { <fields>; }
Expand Down Expand Up @@ -42,12 +35,17 @@
-keep enum com.launchdarkly.sdk.android.ConnectionInformation$ConnectionMode { *; }
-keep class com.launchdarkly.sdk.android.ConnectionInformationState { <fields>; }

-keepattributes Signature
-keepattributes *Annotation*

-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer

-dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.conscrypt.ConscryptHostnameVerifier

-keepattributes *Annotation*,Signature,InnerClasses

# Usually, these should be redundant with directives added by AAPT. We include them
# to be more explicit about what to save in case of build configurations having
# different default directives included.
-keep class com.launchdarkly.sdk.android.ConnectivityReceiver { <init>(); }
-keep class com.launchdarkly.sdk.android.PollingUpdater { <init>(); }

0 comments on commit d1ac26e

Please sign in to comment.