Search Gradle plugins

Version 0.4.0 (latest)

0.4.0

Created 01 July 2017.

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 Gradle plugin that generates CSV file with apk size per output and variant of apk

Using the plugins DSL:

plugins {
  id("com.vanniktech.android.apk.size") version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.vanniktech:gradle-android-apk-size-plugin:0.4.0")
  }
}

apply(plugin = "com.vanniktech.android.apk.size")

Using the plugins DSL:

plugins {
  id "com.vanniktech.android.apk.size" version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.vanniktech:gradle-android-apk-size-plugin:0.4.0"
  }
}

apply plugin: "com.vanniktech.android.apk.size"

Learn how to apply plugins to subprojects