Make the run config api stable
parent
9fb167d506
commit
90ff811ecd
|
@ -367,12 +367,10 @@ public class LoomGradleExtension {
|
|||
return log4jConfigs;
|
||||
}
|
||||
|
||||
@ApiStatus.Experimental
|
||||
public void runs(Action<NamedDomainObjectContainer<RunConfigSettings>> action) {
|
||||
action.execute(runConfigs);
|
||||
}
|
||||
|
||||
@ApiStatus.Experimental
|
||||
public NamedDomainObjectContainer<RunConfigSettings> getRunConfigs() {
|
||||
return runConfigs;
|
||||
}
|
||||
|
|
|
@ -36,16 +36,11 @@ import org.gradle.api.Named;
|
|||
import org.gradle.api.Project;
|
||||
import org.gradle.api.plugins.JavaPluginConvention;
|
||||
import org.gradle.api.tasks.SourceSet;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
import net.fabricmc.loom.LoomGradleExtension;
|
||||
import net.fabricmc.loom.util.Constants;
|
||||
import net.fabricmc.loom.util.OperatingSystem;
|
||||
|
||||
/**
|
||||
* Experimental for now, please make sure to direct any suggests towards the github.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public final class RunConfigSettings implements Named {
|
||||
/**
|
||||
* Arguments for the JVM, such as system properties.
|
||||
|
|
Loading…
Reference in New Issue