Skip to content

Commit a3cc78a

Browse files
committed
Made sdl2 build.gradle work with Java 7
1 parent 8829312 commit a3cc78a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pythonforandroid/bootstraps/sdl2/build/templates/build.tmpl.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ android {
5454
main {
5555
jniLibs.srcDir 'libs'
5656
}
57-
}
57+
}
58+
59+
compileOptions {
60+
sourceCompatibility JavaVersion.VERSION_1_7
61+
targetCompatibility JavaVersion.VERSION_1_7
62+
}
5863

5964
}
6065

0 commit comments

Comments
 (0)