|
|
@ -18,7 +18,6 @@ package org.springframework.boot.gradle.tasks.run;
|
|
|
|
|
|
|
|
|
|
|
|
import java.lang.reflect.Method;
|
|
|
|
import java.lang.reflect.Method;
|
|
|
|
|
|
|
|
|
|
|
|
import org.gradle.api.JavaVersion;
|
|
|
|
|
|
|
|
import org.gradle.api.file.SourceDirectorySet;
|
|
|
|
import org.gradle.api.file.SourceDirectorySet;
|
|
|
|
import org.gradle.api.tasks.Input;
|
|
|
|
import org.gradle.api.tasks.Input;
|
|
|
|
import org.gradle.api.tasks.JavaExec;
|
|
|
|
import org.gradle.api.tasks.JavaExec;
|
|
|
@ -72,7 +71,6 @@ public class BootRun extends JavaExec {
|
|
|
|
public void exec() {
|
|
|
|
public void exec() {
|
|
|
|
if (this.optimizedLaunch) {
|
|
|
|
if (this.optimizedLaunch) {
|
|
|
|
setJvmArgs(getJvmArgs());
|
|
|
|
setJvmArgs(getJvmArgs());
|
|
|
|
JavaVersion.current();
|
|
|
|
|
|
|
|
if (!isJava13OrLater()) {
|
|
|
|
if (!isJava13OrLater()) {
|
|
|
|
jvmArgs("-Xverify:none");
|
|
|
|
jvmArgs("-Xverify:none");
|
|
|
|
}
|
|
|
|
}
|
|
|
|