Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b48556d5 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Restricting the java version for plugin lib

Android Studio only supports jre 8, which prevents Robolectric tests
from running in the IDE when using the plugin lib

Test: Verified the tests run successfully
Change-Id: I44bfc1ef551b3e35698bed9084d31c0d5d3f5e6c
parent af589908
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,4 +16,8 @@ java_library {
    sdk_version: "current",
    name: "PluginCoreLib",
    srcs: ["src/**/*.java"],

    // Enforce that the library is built against java 8 so that there are
    // no compatibility issues with launcher
    java_version: "1.8",
}