Search Gradle plugins

Using the plugins DSL:

plugins {
  id("de.bsvrz.gradle.nerzswe") version "0.30.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.bsvrz:de.bsvrz.gradle.nerzswe:0.30.0")
  }
}

apply(plugin = "de.bsvrz.gradle.nerzswe")

Using the plugins DSL:

plugins {
  id "de.bsvrz.gradle.nerzswe" version "0.30.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.bsvrz:de.bsvrz.gradle.nerzswe:0.30.0"
  }
}

apply plugin: "de.bsvrz.gradle.nerzswe"

Learn how to apply plugins to subprojects