Search Gradle plugins

Version 2.1.1 (latest)

2.1.1

Created 28 August 2024.

A simple gradle plugin to minify CSS and JavaScript files

Using the plugins DSL:

plugins {
  id("org.gradlewebtools.minify") version "2.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.gradle-webtools.minify:gradle-minify-plugin:2.1.1")
  }
}

apply(plugin = "org.gradlewebtools.minify")

Using the plugins DSL:

plugins {
  id "org.gradlewebtools.minify" version "2.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.gradle-webtools.minify:gradle-minify-plugin:2.1.1"
  }
}

apply plugin: "org.gradlewebtools.minify"

Learn how to apply plugins to subprojects