Search Gradle plugins

com.bmuschko.tomcat

Gradle plugin supporting deployment of your web application to an embedded Tomcat web container.

https://github.com/bmuschko/gradle-tomcat-plugin

Version 2.6.0

2.6.0

Created 24 June 2021.

Plugin that provides tasks for deploying your web application to an embedded Tomcat web container.

Using the plugins DSL:

plugins {
  id("com.bmuschko.tomcat") version "2.6.0"
}

Using legacy plugin application:

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

apply(plugin = "com.bmuschko.tomcat")

Using the plugins DSL:

plugins {
  id "com.bmuschko.tomcat" version "2.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.bmuschko:gradle-tomcat-plugin:2.6.0"
  }
}

apply plugin: "com.bmuschko.tomcat"

Learn how to apply plugins to subprojects