Search Gradle plugins

Version 1.0.7

1.0.7

Created 27 April 2017.

Optimize all png and jpg drawables within your project

Using the plugins DSL:

plugins {
  id("com.michaelmuenzer.drawableoptimizer") version "1.0.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.michaelmuenzer.drawable-optimizer:drawable-optimizer-gradle-plugin:1.0.7")
  }
}

apply(plugin = "com.michaelmuenzer.drawableoptimizer")

Using the plugins DSL:

plugins {
  id "com.michaelmuenzer.drawableoptimizer" version "1.0.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.michaelmuenzer.drawable-optimizer:drawable-optimizer-gradle-plugin:1.0.7"
  }
}

apply plugin: "com.michaelmuenzer.drawableoptimizer"

Learn how to apply plugins to subprojects