Java Code Examples for org.gradle.api.model.ObjectFactory#mapProperty()

The following examples show how to use org.gradle.api.model.ObjectFactory#mapProperty() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LaunchersTask.java    From skara with GNU General Public License v2.0 5 votes vote down vote up
@Inject
public LaunchersTask(ObjectFactory factory) {
    toDir = factory.property(Path.class);
    os = factory.property(String.class);
    cpu = factory.property(String.class);
    launchers = factory.mapProperty(String.class, String.class);
    options = factory.listProperty(String.class);
}
 
Example 2
Source File: LinkTask.java    From skara with GNU General Public License v2.0 5 votes vote down vote up
@Inject
public LinkTask(ObjectFactory factory) {
    os = factory.property(String.class);
    cpu = factory.property(String.class);
    url = factory.property(String.class);
    toDir = factory.property(Path.class);
    launchers = factory.mapProperty(String.class, String.class);
    modules = factory.listProperty(String.class);
    modulePath = factory.setProperty(RegularFile.class);
    runtimeModules = factory.setProperty(FileSystemLocation.class);
}
 
Example 3
Source File: ImageEnvironment.java    From skara with GNU General Public License v2.0 5 votes vote down vote up
public ImageEnvironment(String name, ObjectFactory factory) {
    this.name = name;
    this.launchers = factory.mapProperty(String.class, String.class);
    this.options = factory.listProperty(String.class);
    this.modules = factory.listProperty(String.class);
    this.bundles = factory.listProperty(String.class);
    this.man = factory.property(String.class);
}
 
Example 4
Source File: CodeGeneratorConfiguration.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Inject
public CodeGeneratorConfiguration(ObjectFactory objectFactory) {
    this.configurationValues = objectFactory.mapProperty(String.class, Object.class);
}
 
Example 5
Source File: LombokExtension.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Inject
public LombokExtension(ObjectFactory objectFactory) {
    version = objectFactory.property(String.class).convention("1.18.12");
    config = objectFactory.mapProperty(String.class, String.class);
}
 
Example 6
Source File: CodeGeneratorConfiguration.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Inject
public CodeGeneratorConfiguration(ObjectFactory objectFactory) {
    this.configurationValues = objectFactory.mapProperty(String.class, Object.class);
}
 
Example 7
Source File: LombokExtension.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Inject
public LombokExtension(ObjectFactory objectFactory) {
    version = objectFactory.property(String.class).convention("1.18.12");
    config = objectFactory.mapProperty(String.class, String.class);
}