r-cohen / Unused Dep
Detects unused dependencies in Android gradle projects
Programming Languages
java 68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Unused Dep
Jaxws SamplesSmall example projects using JAX-WS technologies.
Stars: ✭ 11 (-71.05%)
Mutual labels: gradle
Gradle Kotlin Aspectj WeaverA Gradle plugin that allows you to weave your compiled Java and Kotlin files with AspectJ
Stars: ✭ 14 (-63.16%)
Mutual labels: gradle
Gradle Pluginscollection of gradle plugins
Stars: ✭ 28 (-26.32%)
Mutual labels: gradle
Notes📝 Migrated to(迁移至) https://github.com/Kuangcp/Note 当前仓库已经废弃, 对应的博客网站:
Stars: ✭ 33 (-13.16%)
Mutual labels: gradle
RefreshversionsLife is too short to google for dependencies and versions
Stars: ✭ 841 (+2113.16%)
Mutual labels: gradle
Example Kotlin Springboot GraphqlProjeto de exemplo com API GraphQL com dois crud’s simples, utilizando Kotlin, Spring Boot, Gradle etc.
Stars: ✭ 28 (-26.32%)
Mutual labels: gradle
EasypreferencesThis class simplifies calls to SharedPreferences in a line of code. It can also do more like: saving a list of strings, integers and saving images. All in 1 line of code!
Stars: ✭ 34 (-10.53%)
Mutual labels: gradle
CandyviewImplement any RecyclerView in just 1 Line. CandyView handles everything for you.
Stars: ✭ 15 (-60.53%)
Mutual labels: gradle
Login SampleA simple Android app that allows users to sign up / login / logout.
Stars: ✭ 28 (-26.32%)
Mutual labels: gradle
Scala Cypher DslA type-safe Cypher Query Language DSL for Scala.
Stars: ✭ 34 (-10.53%)
Mutual labels: gradle
McimageAndroid Gradle Plugin -- Auto Check big image and compress image in building.
Stars: ✭ 872 (+2194.74%)
Mutual labels: gradle
Android Easy Multidex[Deprecated] Android,multidex,splitdex,分包插件
Stars: ✭ 976 (+2468.42%)
Mutual labels: gradle
Warren🐇 Kotlin/JVM, tested, IRC v3.2 client state management and observing
Stars: ✭ 8 (-78.95%)
Mutual labels: gradle
Go4droidbuild an android app (with go bindings) in Docker
Stars: ✭ 32 (-15.79%)
Mutual labels: gradle
Kotlin Android TemplateAndroid + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️
Stars: ✭ 984 (+2489.47%)
Mutual labels: gradle
QuizAn android application which uses Open Trivia Api.
Stars: ✭ 34 (-10.53%)
Mutual labels: gradle
unused-dep
Detects unused dependencies in Android gradle projects
How does it work?
This tool removes dependencies one by one in an Android gradle project and attempts to run a specified gradle task
in order to verify if the dependency is used or not. If the gradle task succeeds, the tool will mark the dependency as potentially unused. The tool will complete by printing a list of all potentially unused dependencies.
Usage
Copy the unused-dep.jar
file to the root directory where the gradle wrapper (gradlew
file) is located, and run the following command:
java -jar unused-dep.jar -gradletask :app:assembleDebug
Replace :app:assembleDebug
by any gradle task used in your Android project.
Filter out dependencies
It is possible to skip dependencies using the -skip
flag and provide a comma seperated list of depencies to exclude for the tests. Example:
java -jar unused-dep.jar -gradletask :app:assembleDebug -skip com.android.support.test🏃1.0.2,com.android.support:appcompat-v7:28.0.0
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at
[email protected].