Commits

Meikel Brandmeyer  committed a8c7cf1

Load also the Maven plugin for POM generation

  • Participants
  • Parent commits 3ee0aa2

Comments (0)

Files changed (1)

File src/main/groovy/clojuresque/ClojurePlugin.groovy

 import org.gradle.api.plugins.Convention
 import org.gradle.api.plugins.JavaPlugin
 import org.gradle.api.plugins.JavaPluginConvention
+import org.gradle.api.plugins.MavenPlugin
 import org.gradle.api.plugins.ProjectPluginsContainer
 import org.gradle.api.tasks.ConventionValue
 import org.gradle.api.tasks.bundling.Jar
 public class ClojurePlugin implements Plugin {
     public void use(Project project, ProjectPluginsContainer handler) {
         JavaPlugin javaPlugin = handler.usePlugin(JavaPlugin.class, project)
+        MavenPlugin mavenPlugin = handler.usePlugin(MavenPlugin.class, project)
 
         project.convention.plugins["clojure"] =
             new ClojurePluginConvention(project)