Search Gradle plugins

Version 1.0.0

1.0.0

Created 31 January 2018.

Plugin that configures 'com.gradle.plugin-publish' plugin if it's applied.

Using the plugins DSL:

plugins {
  id("name.remal.plugin-publish-settings") version "1.0.0"
}

Using legacy plugin application:

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

apply(plugin = "name.remal.plugin-publish-settings")

Using the plugins DSL:

plugins {
  id "name.remal.plugin-publish-settings" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.name.remal:gradle-plugins:1.0.0"
  }
}

apply plugin: "name.remal.plugin-publish-settings"

Learn how to apply plugins to subprojects