Search Gradle plugins

io.hkhc.simplepublisher

Wrapping build script for major repositories and make simple things as simple as possible

https://github.com/hkhc/simplepublisher

Sources: https://github.com/hkhc/simplepublisher

Version 0.4.1 (latest)

0.4.1

Created 13 May 2020.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact Wrapping boilerplate code of publishing artifact to maven repository

Using the plugins DSL:

plugins {
  id("io.hkhc.simplepublisher") version "0.4.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.hkhc.gradle:simplepublisher:0.4.1")
  }
}

apply(plugin = "io.hkhc.simplepublisher")

Using the plugins DSL:

plugins {
  id "io.hkhc.simplepublisher" version "0.4.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.hkhc.gradle:simplepublisher:0.4.1"
  }
}

apply plugin: "io.hkhc.simplepublisher"

Learn how to apply plugins to subprojects