File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
buildSrc/src/main/java/com/google/firebase/gradle/plugins Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 27
27
import com .google .firebase .gradle .plugins .ci .device .FirebaseTestServer ;
28
28
import java .io .File ;
29
29
import java .nio .file .Paths ;
30
+ import org .gradle .api .JavaVersion ;
30
31
import org .gradle .api .Plugin ;
31
32
import org .gradle .api .Project ;
32
33
import org .gradle .api .attributes .Attribute ;
@@ -48,6 +49,12 @@ public void apply(Project project) {
48
49
49
50
LibraryExtension android = project .getExtensions ().getByType (LibraryExtension .class );
50
51
52
+ android .compileOptions (
53
+ options -> {
54
+ options .setSourceCompatibility (JavaVersion .VERSION_1_8 );
55
+ options .setTargetCompatibility (JavaVersion .VERSION_1_8 );
56
+ });
57
+
51
58
// In the case of and android library signing config only affects instrumentation test APK.
52
59
// We need it signed with default debug credentials in order for FTL to accept the APK.
53
60
android .buildTypes (
You can’t perform that action at this time.
0 commit comments