commit | 98af32d88971b5ba3bf74dea430c405e7741e203 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 13 01:12:18 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 13 01:12:18 2023 +0000 |
tree | e77038a61ac36a2a67261952897eca8b9f84d1c3 | |
parent | 70e5d0a553d75752cc767fd99e8a0f77ff7c01d9 [diff] | |
parent | daec49c16c973b02b64502fad736c05cda533a61 [diff] |
Snap for 9931682 from daec49c16c973b02b64502fad736c05cda533a61 to udc-d1-release Change-Id: Id1f66b4fddfa7ef95638fc02386f7239e3a4e06f
smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android‘s Java VM implementation. The syntax is loosely based on Jasmin’s/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)
NOTE: This is a fork of https://github.com/JesusFreke/smali for patches needed by Google as the original repository is currently not maintained. After forking the namespace was changed from org.jf
to com.anroid.tools.smali
. The artifacts are released on Google Maven under the following coordinates:
./gradlew assemble
To run the smali
and baksmali
tools from the command line build the fat jars. The fat jars will be named with the current version followed by the first 8 characters of the current git hash followed by an optional -dirty
if the repository was dirty when building and ending in -fat . The fat jar can be invoked with java -jar
.
./gradlew smali:fatJar java -jar smali/build/libs/smali-x.y.z-aaaaaaaa-dirty-fat.jar
To execute all tests run
./gradlew test
Push a release version to your local maven repository (add -Dmaven.repo.local=<dir>
to override the default local maven repository location)
./gradlew release publishToMavenLocal