Skip to content

Commit 88026f6

Browse files
authored
Fix dexing. (#2612)
* Fix dexing. * gJF
1 parent 6da8617 commit 88026f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/plugins/FirebaseLibraryPlugin.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import com.google.firebase.gradle.plugins.ci.device.FirebaseTestServer;
2828
import java.io.File;
2929
import java.nio.file.Paths;
30+
import org.gradle.api.JavaVersion;
3031
import org.gradle.api.Plugin;
3132
import org.gradle.api.Project;
3233
import org.gradle.api.attributes.Attribute;
@@ -48,6 +49,12 @@ public void apply(Project project) {
4849

4950
LibraryExtension android = project.getExtensions().getByType(LibraryExtension.class);
5051

52+
android.compileOptions(
53+
options -> {
54+
options.setSourceCompatibility(JavaVersion.VERSION_1_8);
55+
options.setTargetCompatibility(JavaVersion.VERSION_1_8);
56+
});
57+
5158
// In the case of and android library signing config only affects instrumentation test APK.
5259
// We need it signed with default debug credentials in order for FTL to accept the APK.
5360
android.buildTypes(

0 commit comments

Comments
 (0)