Search Gradle plugins

Version 1.3 (latest)

1.3

Created 28 September 2018.

Gradle plugin for automatically optimizing project png and jpg images!

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.bcombes.tinypng"

Learn how to apply plugins to subprojects