use of org.gradle.api.internal.plugins.DefaultObjectConfigurationAction in project gradle by gradle.
the class DefaultScript method apply.
@Override
public void apply(Map options) {
DefaultObjectConfigurationAction action = createObjectConfigurationAction();
ConfigureUtil.configureByMap(options, action);
action.execute();
}
use of org.gradle.api.internal.plugins.DefaultObjectConfigurationAction in project gradle by gradle.
the class DefaultScript method apply.
@Override
public void apply(Closure closure) {
DefaultObjectConfigurationAction action = createObjectConfigurationAction();
ConfigureUtil.configure(closure, action);
action.execute();
}
use of org.gradle.api.internal.plugins.DefaultObjectConfigurationAction in project gradle by gradle.
the class AbstractPluginAware method apply.
public void apply(Map<String, ?> options) {
DefaultObjectConfigurationAction action = createObjectConfigurationAction();
ConfigureUtil.configureByMap(options, action);
action.execute();
}
use of org.gradle.api.internal.plugins.DefaultObjectConfigurationAction in project gradle by gradle.
the class AbstractPluginAware method apply.
public void apply(Action<? super ObjectConfigurationAction> action) {
DefaultObjectConfigurationAction configAction = createObjectConfigurationAction();
action.execute(configAction);
configAction.execute();
}
Aggregations