A command line tool that helps bulk manage resources in an Android project

Overview

Resource Mover

ResourceMover is a command line tool that helps bulk manage resources in an Android project.

Installation

  1. Clone project
  2. Build CLI jar using ./gradlew publishBinary. This will build the jar into ./lib in this project's directory
  3. Copy the resource-mover.gradle script into your project's root directory
  4. Update the resourceMoverBinaryPath in the copied resource-mover.gradle to point to the jar built in step 2
  5. Apply the script in your root build.gradle using apply from: "resource-mover.gradle"

Usage

Moving Resources

To move resources from one module in your android project to another run the following command. Note this will only move resources that are only referenced by the "toModule". Resources referenced by other modules will remain untouched:

./gradlew moveResources -PfromModule="Example-From-Module-Name" -PtoModule="Example-To-Module-Name"`

Deleting Unused Resources

To remove resources from a module that are not referenced anywhere in code run:

./gradlew removeResources -PfromModule="Example-Module-Name"
You might also like...
Android Studio's Vector Drawable conversion tool in convenient packaging.

Vector Drawable Tool This repository is simply a repackaging of the vector drawable tool from the Android Studio source code. The included Gradle file

Localization tool for Android Studio Projects

Android Strings Resource Language Diff tool In the event any additional languages are intended to be supported by your app. You can use this strings-d

A surgical debugging tool to uncover the layers under your app.
A surgical debugging tool to uncover the layers under your app.

Scalpel DEPRECATED! Android Studio 4.0's layout inspector now includes a live-updating 3D view. Use it! A surgical debugging tool to uncover the layer

Tool for create complex morphing animations using VectorDrawables (allows morphing between any pair of SVG images)

VectAlign VectAlign (a.k.a. VectorDrawableAlign) is a developer's tool which automagically aligns two VectorDrawable "pathData" strings (or SVG images

GPS tracking tool for OpenStreetMap
GPS tracking tool for OpenStreetMap

OSMTracker for Android™ official source code repository is https://github.com/labexp/osmtracker-android. For more information about the project, docum

A tool that enables advanced features through adb installing and uninstalling apps like wildcards and multi device support. Useful if you want to clean your test device from all company apks or install a lot of apks in one go.  Written in Java so it should run on your platform. GPS tracking tool for OpenStreetMap
GPS tracking tool for OpenStreetMap

OSMTracker for Android™ official source code repository is https://github.com/labexp/osmtracker-android. For more information about the project, docum

Custom content tool for The Ponies.

PoneCrafter A sneak preview of the custom content tool for The Ponies. The Ponies is a work in progress life simulator game. The game itself has not b

Tool to assist in tuning simos ECUs.
Tool to assist in tuning simos ECUs.

Simos Tools Makes use of the Macchina-A0 BLEISOTP bridge firmware originally developed by bri3d to log Simo ECUs: https://github.com/Switchleg1/esp32-

Comments
  • Migrate off probot-CLA to new GitHub Action

    Migrate off probot-CLA to new GitHub Action

    Hello 👋

    We are deprecating probot usage, so all Shopify repos should be migrated to use new GitHub CLA Action.

    You can see how this works in vscode-shopify-ruby repo.

    If you have any questions, please reach us on Slack.

    After you merge this PR, make sure to update branch protection settings (if you have any):

    1. Go to Settings > Branches > Edit main (or any default) branch
    2. Remove the CLA check from probot (click x): image
    3. Add CLA check from GitHub action: image
    opened by cursedcoder 0
Owner
Shopify
Shopify
Android Resource Manager application to manage and analysis your app resources with many features like image resize, Color, Dimens and code Analysis

Android Resource Manager application to manage and analysis your app resources with many features like image resize, Color, Dimens and code Analysis

Amr Hesham 26 Nov 16, 2022
A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output.

android-resource-remover android-resource-remover is utility that removes unused resources reported by Android Lint from your project. The goal is to

Keepsafe 1.3k Dec 16, 2022
This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically.

#Android Localizationer This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically. T

Wesley Lin 822 Dec 8, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A super fast build tool for Android, an alternative to Instant Run

Freeline Freeline is a super fast build tool for Android and an alternative to Instant Run. Caching reusable class files and resource indices, it enab

Alibaba 5.5k Jan 2, 2023
Android Material Design Theme UI and Tool Library. Support: 4.0.3~O

GitHub OSChina 中文 English Genius-Android Genius-Android: by Material Design style and some commonly used packages. Starting in 2015, The divided into

Qiujuer 2.3k Dec 27, 2022
Android Merge Tool

AMT The Android Merge Tool (AMT) does what the name suggests: it merges arbitrary Android apps into a single merged app. As input it takes a number of

FoelliX 23 Nov 8, 2022