Run build-tools test with compiler jdk
Closes
@@ -182,12 +182,10 @@ if (project != rootProject) {
thirdPartyAudit.enabled = false
unitTest {
- // The test task is configured to runtimeJava version, but build-tools doesn't support all of them, so test
- // with compiler instead on the ones that are too old.
- if (project.runtimeJavaVersion <= JavaVersion.VERSION_1_10) {
+ // The test task is configured to runtimeJava version, but build-tools doesn't
+ // have to support those.
jvm = "${project.compilerJavaHome}/bin/java"
}
- }
// This can't be an RandomizedTestingTask because we can't yet reference it
task integTest(type: Test) {
