Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.moderne.lst") version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.moderne:moderne-lst-gradle-plugin:2.0.1")
  }
}

apply(plugin = "io.moderne.lst")

Using the plugins DSL:

plugins {
  id "io.moderne.lst" version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.moderne:moderne-lst-gradle-plugin:2.0.1"
  }
}

apply plugin: "io.moderne.lst"

Learn how to apply plugins to subprojects