Search Gradle plugins

com.vanniktech.maven.publish

Gradle plugin that configures an uploadArchives task to automatically upload all of your Java, Kotlin or Android libraries to any Maven instance.

https://github.com/vanniktech/gradle-maven-publish-plugin/

Version 0.9.0 (latest)

Created 08 February 2020.

Gradle plugin that configures an uploadArchives task to automatically upload all of your Java, Kotlin or Android libraries to any Maven instance.

Using the plugins DSL:

plugins {
  id "com.vanniktech.maven.publish" version "0.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.vanniktech:gradle-maven-publish-plugin:0.9.0"
  }
}

apply plugin: "com.vanniktech.maven.publish"

Using the plugins DSL:

plugins {
  id("com.vanniktech.maven.publish") version "0.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.vanniktech:gradle-maven-publish-plugin:0.9.0")
  }
}

apply(plugin = "com.vanniktech.maven.publish")

Learn how to apply plugins to subprojects