Search Gradle plugins

com.bmuschko.tomcat-base

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

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

Version 2.7.0 (latest)

2.7.0

Created 29 June 2021.

Plugin that provides custom task types for interacting with an embedded Tomcat web container.

Using the plugins DSL:

plugins {
  id("com.bmuschko.tomcat-base") version "2.7.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.bmuschko.tomcat-base" version "2.7.0"
}

Using legacy plugin application:

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

apply plugin: "com.bmuschko.tomcat-base"

Learn how to apply plugins to subprojects