Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.zegreatrob.testmints.logs.mint-logs") version "12.1.21"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.zegreatrob.testmints:mint-logs-plugin:12.1.21")
  }
}

apply(plugin = "com.zegreatrob.testmints.logs.mint-logs")

Using the plugins DSL:

plugins {
  id "com.zegreatrob.testmints.logs.mint-logs" version "12.1.21"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.zegreatrob.testmints:mint-logs-plugin:12.1.21"
  }
}

apply plugin: "com.zegreatrob.testmints.logs.mint-logs"

Learn how to apply plugins to subprojects