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.

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

Version 0.8.0 (latest)

Created 18 February 2019.

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.8.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.8.0"
  }
}

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

Using the plugins DSL:

plugins {
  id("com.vanniktech.maven.publish") version "0.8.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.8.0")
  }
}

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

Learn how to apply plugins to subprojects