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

com.manolovn.cssdroid.CSSDroidPlugin Maven / Gradle / Ivy

package com.manolovn.cssdroid;

import com.manolovn.cssdroid.config.CSSDroidExtension;
import com.manolovn.cssdroid.task.ParseCSSTask;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

/**
 * CSSDroid base plugin
 */
public class CSSDroidPlugin implements Plugin {

    private static final String EXTENSION = "cssdroid";
    private static final String TASK = "CSSDROIDGENERATE";

    @Override
    public void apply(Project project) {
        project.getExtensions().create(EXTENSION, CSSDroidExtension.class);
        project.getTasks().create(TASK, ParseCSSTask.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy