在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):marcoRS/lint-cleaner-plugin开源软件地址(OpenSource Url):https://github.com/marcoRS/lint-cleaner-plugin开源编程语言(OpenSource Language):Groovy 100.0%开源软件介绍(OpenSource Introduction):Removes unused resources reported by Android lint including strings, colors and dimensions. DepracatedAs of Android Studio 2.0+ you can use UsageApply the plugin in your 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:
Optional Configuration using DSLlintCleaner {
// 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'
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论