Search Gradle plugins

Using the plugins DSL:

plugins {
  id("name.remal.assertj-generator") version "1.0.148"
}

Using legacy plugin application:

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

apply(plugin = "name.remal.assertj-generator")

Using the plugins DSL:

plugins {
  id "name.remal.assertj-generator" version "1.0.148"
}

Using legacy plugin application:

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

apply plugin: "name.remal.assertj-generator"

Learn how to apply plugins to subprojects