dev.gradleplugins.runnerkit.providers.GradleExecutionJvmSystemPropertyProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-runner-kit-impl Show documentation
Show all versions of gradle-runner-kit-impl Show documentation
Gradle runner kit implementation.
package dev.gradleplugins.runnerkit.providers;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
public interface GradleExecutionJvmSystemPropertyProvider extends GradleExecutionCommandLineProvider {
default List getAsArguments() {
return getAsJvmSystemProperties().entrySet().stream().map(it -> "-D" + it.getKey() + "=" + it.getValue()).collect(Collectors.toList());
}
Map getAsJvmSystemProperties();
}