Search Gradle plugins

io.github.liuwang.gradle.delete-mapping

A Gradle plugin that automatically removes proguard.map files from Android App Bundle (AAB) build outputs. This plugin helps reduce AAB file size and simplifies the release process when mapping files are not needed.

https://github.com/liuwang/AGPTools

Sources: https://github.com/liuwang/AGPTools

Version 1.0 (latest)

Created 29 October 2025.

A Gradle plugin that automatically removes proguard.map files from Android App Bundle (AAB) build outputs. This plugin helps reduce AAB file size and simplifies the release process when mapping files are not needed.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.liuwang.gradle.delete-mapping") version "1.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.liuwang.gradle.delete-mapping:io.github.liuwang.gradle.delete-mapping.gradle.plugin:1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.liuwang.gradle.delete-mapping")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.liuwang.gradle.delete-mapping:io.github.liuwang.gradle.delete-mapping.gradle.plugin:1.0")
      }
    }
    
    apply(plugin = "io.github.liuwang.gradle.delete-mapping")
  • Applying plugins to all subprojects .