Search Gradle plugins

Version 3.1 (latest)

3.1

Created 23 June 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 Common publishing setup options

Using the plugins DSL:

plugins {
  id("ca.stellardrift.opinionated.publish") version "3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ca.stellardrift:gradle-plugin-opinionated-common:3.1")
  }
}

apply(plugin = "ca.stellardrift.opinionated.publish")

Using the plugins DSL:

plugins {
  id "ca.stellardrift.opinionated.publish" version "3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ca.stellardrift:gradle-plugin-opinionated-common:3.1"
  }
}

apply plugin: "ca.stellardrift.opinionated.publish"

Learn how to apply plugins to subprojects