Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.github.klahap.fraplin") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.klahap.fraplin:frappe_dsl_gen:1.0.1")
  }
}

apply(plugin = "io.github.klahap.fraplin")

Using the plugins DSL:

plugins {
  id "io.github.klahap.fraplin" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.klahap.fraplin:frappe_dsl_gen:1.0.1"
  }
}

apply plugin: "io.github.klahap.fraplin"

Learn how to apply plugins to subprojects