Search Gradle plugins

com.bcombes.tinypng

Gradle plugin for automatically optimizing project png and jpg images!

https://github.com/bcombes/TinyPngPlugin

Version 1.2.1

Created 25 September 2018.

Gradle plugin for automatically optimizing project png and jpg images!

Using the plugins DSL:

plugins {
  id "com.bcombes.tinypng" version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.bcombes.tinypng:TinyPngPlugin:1.2.1"
  }
}

apply plugin: "com.bcombes.tinypng"

Using the plugins DSL:

plugins {
  id("com.bcombes.tinypng") version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.bcombes.tinypng:TinyPngPlugin:1.2.1")
  }
}

apply(plugin = "com.bcombes.tinypng")

Learn how to apply plugins to subprojects