Search Gradle plugins

Version 0.2.0 (latest)

0.2.0

Created 02 June 2022.

A Gradle plugin which adds tasks in order to optimise png files

Using the plugins DSL:

plugins {
  id("com.matyrobbrt.pngoptimiser") version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.matyrobbrt.gradle.pngoptimiser:GradlePNGOptimiser:0.2.0")
  }
}

apply(plugin = "com.matyrobbrt.pngoptimiser")

Using the plugins DSL:

plugins {
  id "com.matyrobbrt.pngoptimiser" version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.matyrobbrt.gradle.pngoptimiser:GradlePNGOptimiser:0.2.0"
  }
}

apply plugin: "com.matyrobbrt.pngoptimiser"

Learn how to apply plugins to subprojects