Search Gradle plugins

Version 0.1.0 (latest)

Created 08 December 2018.

Invoke Maven from Gradle

Using the plugins DSL:

plugins {
  id("gradle.maven.exec") version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.gradle.plugins:maven-exec-plugin:0.1.0")
  }
}

apply(plugin = "gradle.maven.exec")

Using the plugins DSL:

plugins {
  id "gradle.maven.exec" version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.gradle.plugins:maven-exec-plugin:0.1.0"
  }
}

apply plugin: "gradle.maven.exec"

Learn how to apply plugins to subprojects