Lint Cleaner Plugin

A Gradle plugin that helps with the removal of unused resources in Android projects.

Лицензия

Лицензия

Группа

Группа

com.droidtitan
Идентификатор

Идентификатор

lint-cleaner-plugin
Последняя версия

Последняя версия

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Lint Cleaner Plugin
A Gradle plugin that helps with the removal of unused resources in Android projects.
Ссылка на сайт

Ссылка на сайт

https://github.com/marcoRS/lint-cleaner-plugin
Организация-разработчик

Организация-разработчик

DroidTitan
Система контроля версий

Система контроля версий

https://github.com/marcoRS/lint-cleaner-plugin

Скачать lint-cleaner-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.droidtitan/lint-cleaner-plugin/ -->
<dependency>
    <groupId>com.droidtitan</groupId>
    <artifactId>lint-cleaner-plugin</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.droidtitan/lint-cleaner-plugin/
implementation 'com.droidtitan:lint-cleaner-plugin:0.3.0'
// https://jarcasting.com/artifacts/com.droidtitan/lint-cleaner-plugin/
implementation ("com.droidtitan:lint-cleaner-plugin:0.3.0")
'com.droidtitan:lint-cleaner-plugin:jar:0.3.0'
<dependency org="com.droidtitan" name="lint-cleaner-plugin" rev="0.3.0">
  <artifact name="lint-cleaner-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.droidtitan', module='lint-cleaner-plugin', version='0.3.0')
)
libraryDependencies += "com.droidtitan" % "lint-cleaner-plugin" % "0.3.0"
[com.droidtitan/lint-cleaner-plugin "0.3.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.codehaus.groovy : groovy-all jar 2.2.+

Модули Проекта

Данный проект не имеет модулей.

#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'
}

Версии библиотеки

Версия
0.3.0