Skip to content

Commit 542ea57

Browse files
authored
Merge pull request OneSignal#1240 from aayush123/fix/android-missing-compile-options
Enabled Desugaring of Java 8 bytecode for Android
2 parents 06085c1 + 3821116 commit 542ea57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ android {
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}
19+
20+
compileOptions {
21+
sourceCompatibility JavaVersion.VERSION_1_8
22+
targetCompatibility JavaVersion.VERSION_1_8
23+
}
1924
}
2025

2126
dependencies {

0 commit comments

Comments
 (0)