Set "-source 7 -target 7" on DexBuilder tests so they don't contain Java 8+
features, so that the jar can be dexed within the test. Fixes
RELNOTES: None.
@@ -26,6 +26,7 @@ java_library(
),
"//conditions:default": ["NoAndroidSdkStubTest.java"],
}),
+ javacopts = ["-source 7 -target 7"], # we run this through dx for testing, so no lambdas!
resources = ["testresource.txt"],
deps = [
"//src/test/java/com/google/devtools/build/lib:testutil",
