Search Gradle plugins

Version 0.3.1 (latest)

0.3.1

Created 22 August 2020.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact Calculates per class size difference in dex files with and without code shrinking

Using the plugins DSL:

plugins {
  id("ru.erdenian.shrinkometer") version "0.3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.ru.erdenian:shrinkometer:0.3.1")
  }
}

apply(plugin = "ru.erdenian.shrinkometer")

Using the plugins DSL:

plugins {
  id "ru.erdenian.shrinkometer" version "0.3.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ru.erdenian:shrinkometer:0.3.1"
  }
}

apply plugin: "ru.erdenian.shrinkometer"

Learn how to apply plugins to subprojects