Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects