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

com.eriwen.gradle.js.source.internal.DefaultJavaScriptSourceSetContainer Maven / Gradle / Ivy

There is a newer version: 1.12.0
Show newest version
package com.eriwen.gradle.js.source.internal;

import com.eriwen.gradle.js.source.JavaScriptSourceSet;
import com.eriwen.gradle.js.source.JavaScriptSourceSetContainer;
import org.gradle.api.Project;
import org.gradle.api.internal.AbstractNamedDomainObjectContainer;

public class DefaultJavaScriptSourceSetContainer extends AbstractNamedDomainObjectContainer implements JavaScriptSourceSetContainer {

    private final Project project;

    public DefaultJavaScriptSourceSetContainer(Project project) {
        super(JavaScriptSourceSet.class, InternalGradle.toInstantiator(project));
        this.project = project;
    }

    @Override
    protected JavaScriptSourceSet doCreate(String name) {
        return getInstantiator().newInstance(DefaultJavaScriptSourceSet.class, name, project);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy