File tree Expand file tree Collapse file tree 9 files changed +19
-16
lines changed Expand file tree Collapse file tree 9 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ android {
4545 }
4646
4747 compileOptions {
48- sourceCompatibility JavaVersion . VERSION_1_8
49- targetCompatibility JavaVersion . VERSION_1_8
48+ sourceCompatibility JavaVersion . VERSION_11
49+ targetCompatibility JavaVersion . VERSION_11
5050 }
5151}
5252
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ android {
3939 }
4040 }
4141 compileOptions {
42- sourceCompatibility JavaVersion . VERSION_1_8
43- targetCompatibility JavaVersion . VERSION_1_8
42+ sourceCompatibility JavaVersion . VERSION_11
43+ targetCompatibility JavaVersion . VERSION_11
4444 }
4545}
4646
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ android {
3939 }
4040 }
4141 compileOptions {
42- sourceCompatibility JavaVersion . VERSION_1_8
43- targetCompatibility JavaVersion . VERSION_1_8
42+ sourceCompatibility JavaVersion . VERSION_11
43+ targetCompatibility JavaVersion . VERSION_11
4444 }
4545 buildToolsVersion build_tools_version
4646}
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ android {
4242 }
4343 }
4444 compileOptions {
45- sourceCompatibility JavaVersion . VERSION_1_8
46- targetCompatibility JavaVersion . VERSION_1_8
45+ sourceCompatibility JavaVersion . VERSION_11
46+ targetCompatibility JavaVersion . VERSION_11
4747 }
4848 buildToolsVersion build_tools_version
4949
Original file line number Diff line number Diff line change 2626}
2727# Keep Payload classes that get sent to the ODP server
2828-keep class com.optimizely.ab.odp.ODPEvent { *; }
29+ # ODP event uses this. R8 complains about it.
30+ -dontwarn java.beans.Transient
2931
3032# Keep Payload classes that get sent to Optimizely's backend
3133-keep class com.optimizely.ab.event.internal.payload.** { *; }
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ android {
4141 }
4242 }
4343 compileOptions {
44- sourceCompatibility JavaVersion . VERSION_1_8
45- targetCompatibility JavaVersion . VERSION_1_8
44+ sourceCompatibility JavaVersion . VERSION_11
45+ targetCompatibility JavaVersion . VERSION_11
4646 }
4747 buildToolsVersion build_tools_version
4848}
Original file line number Diff line number Diff line change @@ -21,16 +21,17 @@ android {
2121 // enable proguard for debug mode (keep both of these to detect issues while testing)
2222 minifyEnabled true
2323 debuggable false
24- proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
24+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' test-app- proguard-rules.pro'
2525 }
2626 release {
2727 minifyEnabled true
28- proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
28+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' test-app-proguard-rules.pro'
29+ signingConfig signingConfigs. debug
2930 }
3031 }
3132 compileOptions {
32- sourceCompatibility JavaVersion . VERSION_1_8
33- targetCompatibility JavaVersion . VERSION_1_8
33+ sourceCompatibility JavaVersion . VERSION_11
34+ targetCompatibility JavaVersion . VERSION_11
3435 }
3536 packagingOptions {
3637 resources {
File renamed without changes.
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ android {
3939 }
4040 }
4141 compileOptions {
42- sourceCompatibility JavaVersion . VERSION_1_8
43- targetCompatibility JavaVersion . VERSION_1_8
42+ sourceCompatibility JavaVersion . VERSION_11
43+ targetCompatibility JavaVersion . VERSION_11
4444 }
4545}
4646
You can’t perform that action at this time.
0 commit comments