Search Gradle plugins

name.remal.publish-settings

Plugin that configures Java project artifacts and configures maven-publish plugin if it's applied.

https://gitlab.com/remal/gradle-plugins

Sources: https://gitlab.com/remal/gradle-plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects