Search Gradle plugins

Using the plugins DSL:

plugins {
  id("tz.co.asoft.library") version "1.5.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("tz.co.asoft:foundation-plugins:1.5.2")
  }
}

apply(plugin = "tz.co.asoft.library")

Using the plugins DSL:

plugins {
  id "tz.co.asoft.library" version "1.5.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "tz.co.asoft:foundation-plugins:1.5.2"
  }
}

apply plugin: "tz.co.asoft.library"

Learn how to apply plugins to subprojects