Search Gradle plugins

Version 1.0-SNAPSHOT (latest)

Created 11 February 2016.

Custom Tomcat Plugin

Using the plugins DSL:

plugins {
  id "com.nishan.custom.tomcat" version "1.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.nishan.custom:tomcat-custom-plugin:1.0-SNAPSHOT"
  }
}

apply plugin: "com.nishan.custom.tomcat"

Using the plugins DSL:

plugins {
  id("com.nishan.custom.tomcat") version "1.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.nishan.custom:tomcat-custom-plugin:1.0-SNAPSHOT")
  }
}

apply(plugin = "com.nishan.custom.tomcat")

Learn how to apply plugins to subprojects