Popularity
5.9
Stable
Activity
0.0
Stable
705
24
110

Programming language: Groovy
License: Apache License 2.0
Tags: Plugin     Gradle    
Latest version: v0.3.0

lint-cleaner-plugin alternatives and similar packages

Based on the "Gradle" category.
Alternatively, view lint-cleaner-plugin alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of lint-cleaner-plugin or a related project?

Add another 'Gradle' Package

README

Lint Cleaner Plugin

Maven Central Android Arsenal

Removes unused resources reported by Android lint including strings, colors and dimensions.

Depracated

As of Android Studio 2.0+ you can use Refactor -> Remove Unused Resources

ScreenShot

Usage

Apply the plugin in your build.gradle:

buildscript {
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:0.12.+'
    classpath 'com.droidtitan:lint-cleaner-plugin:0.3.0'
  }
}

apply plugin: 'android'
apply plugin: 'com.droidtitan.lintcleaner'

Finally, to remove unused resources use:

gradle lintClean

Optional Configuration using DSL

lintCleaner {
    // Exclude specific files
    exclude = ['com_crashlytics_export_strings.xml','config.xml']

    // Ability to ignore all resource files. False by default. 
    ignoreResFiles = true

    // Default path is build/outputs/lint-results.xml
    lintXmlFilePath = 'path/to/lint-results.xml'
}