Search Gradle plugins

Version 1.0.0 (latest)

Created 14 April 2020.

An empty Gradle plugin created from a template

Using the plugins DSL:

plugins {
  id "com.ncorti.kotlin.gradle.template.plugin" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.ncorti.kotlin.gradle.template:plugin:1.0.0"
  }
}

apply plugin: "com.ncorti.kotlin.gradle.template.plugin"

Using the plugins DSL:

plugins {
  id("com.ncorti.kotlin.gradle.template.plugin") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.ncorti.kotlin.gradle.template:plugin:1.0.0")
  }
}

apply(plugin = "com.ncorti.kotlin.gradle.template.plugin")

Learn how to apply plugins to subprojects