All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.gradleplugins.runnerkit.providers.GradleExecutionJvmSystemPropertyProvider Maven / Gradle / Ivy

There is a newer version: 0.0.148
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy