Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAKE dex2jar GREAT AGAIN! #486

Draft
wants to merge 193 commits into
base: 2.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
f4eef16
Create gradle.yml
geilige Mar 20, 2021
3429e9b
Update README.md
geilige Mar 20, 2021
61691c8
fix issue #207 https://github.com/pxb1988/dex2jar/issues/207
geilige Mar 20, 2021
fe0f643
fix issue #217 https://github.com/pxb1988/dex2jar/issues/217 By Clau…
geilige Mar 20, 2021
5af69b5
pr386 Increase heap size
geilige Mar 20, 2021
09e4ab0
pr219
geilige Mar 20, 2021
ef9bbb9
Update README.md
geilige Mar 20, 2021
f142815
Update dependencies
ThexXTURBOXx Aug 9, 2021
f6dc51e
Apply miscellaneous fixes
ThexXTURBOXx Aug 9, 2021
85e4152
Fix upstream errors
ThexXTURBOXx Aug 9, 2021
6134247
Fix tests
ThexXTURBOXx Aug 9, 2021
6a4bf67
Update README
ThexXTURBOXx Aug 9, 2021
8bf6149
Fix warnings
ThexXTURBOXx Aug 9, 2021
9f1e5d8
Migrate to .param syntax
ThexXTURBOXx Aug 9, 2021
600f04a
Update ASM
ThexXTURBOXx Aug 9, 2021
ddc7e3b
Add flag to skip the workflow
ThexXTURBOXx Aug 9, 2021
cdf7bf9
Fix unsafe operations in tests
ThexXTURBOXx Aug 9, 2021
f28dbb7
Automatically build uber-jar
ThexXTURBOXx Aug 10, 2021
16ed5ea
Reformat code
ThexXTURBOXx Aug 10, 2021
6e9dd2d
Fix README and Travis CI
ThexXTURBOXx Aug 10, 2021
66c0b3f
Introduce develop branch
ThexXTURBOXx Aug 10, 2021
b201849
Change build label to develop
ThexXTURBOXx Aug 10, 2021
c9cc718
Remove ci skip option
ThexXTURBOXx Aug 10, 2021
3384c99
Fix grammar
ThexXTURBOXx Aug 10, 2021
6fe37ad
Fix deprecated stuff from JDK 16
ThexXTURBOXx Aug 10, 2021
b9ef531
Add D8, just for fun
ThexXTURBOXx Aug 10, 2021
87c21c3
Fix funny error message grammar
ThexXTURBOXx Aug 10, 2021
4e23cad
Add more changes to README
ThexXTURBOXx Aug 10, 2021
eac9d74
Update Gradle Wrapper
ThexXTURBOXx Aug 10, 2021
b708f0a
Fix last linter warnings
ThexXTURBOXx Aug 10, 2021
9d43e89
Add all currently supported JDKs to Travis CI Matrix
ThexXTURBOXx Aug 10, 2021
487593e
Fix even more APKs
ThexXTURBOXx Aug 10, 2021
d1e30ce
Allow manual triggering of workflow
ThexXTURBOXx Aug 10, 2021
a3091a6
Don't just surrender so quickly...
ThexXTURBOXx Aug 10, 2021
2758d4e
Remove unnecessary semicolons
ThexXTURBOXx Aug 11, 2021
87e33a2
Centralize supported version numbers
ThexXTURBOXx Aug 11, 2021
274970b
Move libs folder
ThexXTURBOXx Aug 11, 2021
37518ff
Reformat
ThexXTURBOXx Aug 11, 2021
cd36ca4
Add serialVersionUIDs
ThexXTURBOXx Aug 11, 2021
d11627a
Fix end of files
ThexXTURBOXx Aug 11, 2021
e6c2252
Allow changing the minSdkVersion
ThexXTURBOXx Aug 11, 2021
946ea9e
Delete Mercurial stuff
ThexXTURBOXx Aug 11, 2021
90f72cb
Add missing alt tag
ThexXTURBOXx Aug 11, 2021
fc685af
Update modification date
ThexXTURBOXx Aug 11, 2021
56e6c86
Humbly add myself to contributors
ThexXTURBOXx Aug 11, 2021
65860c9
Update dates
ThexXTURBOXx Aug 11, 2021
612b17b
Reformat code based on CheckStyle
ThexXTURBOXx Aug 12, 2021
98196e0
Clean synthetic flags and deanonymize classes
js6pak Aug 14, 2021
6034a0d
Fix double nested classes - debugging this was a fukin nightmare
js6pak Aug 14, 2021
3a13f99
Remove Java 6 compat
ThexXTURBOXx Aug 19, 2021
aff6269
Cleanup
ThexXTURBOXx Aug 21, 2021
a75f2ef
Fix workflow
ThexXTURBOXx Aug 21, 2021
4e13edd
Fix CheckStyle
ThexXTURBOXx Aug 21, 2021
7f991a0
Add external libraries
ThexXTURBOXx Aug 21, 2021
9c154e4
Fix some more typos
ThexXTURBOXx Aug 23, 2021
9334471
Fix some stuff from merging other people's work
ThexXTURBOXx Aug 23, 2021
bfe116d
Fix treating of Zip files
ThexXTURBOXx Aug 23, 2021
6a0902f
Fix possible NPE
ThexXTURBOXx Aug 23, 2021
9f27ec5
Switch all mains to vararg
ThexXTURBOXx Aug 26, 2021
ffa0574
Fix typo with bad consequences
ThexXTURBOXx Sep 4, 2021
f1da047
Add workaround for invalid signatures
ThexXTURBOXx Sep 4, 2021
9c6cde4
Fix inheritance issue in ClassCastException causing InvokePolymorphic…
nick-botticelli Sep 5, 2021
9c0db1d
Fix InvokeExpr subclasses even more
ThexXTURBOXx Sep 5, 2021
43238bf
Merge pull request #7 from nick-botticelli/main
ThexXTURBOXx Sep 6, 2021
9335d9d
Fix NPE
ThexXTURBOXx Oct 2, 2021
2b398e6
Merge pull request #10 from ThexXTURBOXx/develop
ThexXTURBOXx Oct 2, 2021
22abca5
Fix some possible issues everywhere
ThexXTURBOXx Oct 4, 2021
145f112
Merge pull request #11 from ThexXTURBOXx/develop
ThexXTURBOXx Oct 4, 2021
2f21cae
Cleanup
ThexXTURBOXx Oct 22, 2021
75f0d79
Don't run workflow on PRs
ThexXTURBOXx Oct 22, 2021
cc35ac9
Fix inner class bug
ThexXTURBOXx Oct 25, 2021
196296e
Update to current pxb1988 version
ThexXTURBOXx Nov 17, 2021
e99e3ad
Update Travis CI to Java 17
ThexXTURBOXx Nov 17, 2021
dc542ea
fix https://github.com/pxb1988/dex2jar/issues/165
Dec 8, 2021
f989473
Merge remote-tracking branch 'Kyson/feature/line_number' into develop
ThexXTURBOXx Dec 13, 2021
30d1836
Update dependencies
ThexXTURBOXx Dec 14, 2021
56fa650
Update to JUnit 5 (Vintage) and cleanup tests
ThexXTURBOXx Dec 14, 2021
c5c39f3
Update Gradle wrapper
ThexXTURBOXx Dec 19, 2021
07d1e46
Update Gradle wrapper permissions
ThexXTURBOXx Dec 19, 2021
16234f9
Remove unnecessary workflow step
ThexXTURBOXx Dec 19, 2021
961267d
Update Shadow plugin
ThexXTURBOXx Dec 19, 2021
d37a64a
Update Gradle and Shadow plugin
ThexXTURBOXx Dec 31, 2021
0dde1ae
Update D8
ThexXTURBOXx Jan 7, 2022
ddc41b7
Create SECURITY.md
ThexXTURBOXx Feb 1, 2022
c238b60
Update Gradle wrapper
ThexXTURBOXx Feb 13, 2022
d064c19
Fix Relative Path Traversal
ThexXTURBOXx Feb 14, 2022
ac8ffcc
Remove deprecated workflow action
ThexXTURBOXx Feb 26, 2022
0e26919
Improve handling of large arrays
ThexXTURBOXx Mar 29, 2022
8496704
Finally fix handling of large arrays
ThexXTURBOXx Apr 1, 2022
b04929c
Cleanup
ThexXTURBOXx Apr 2, 2022
63334e7
Update Gradle and ASM
ThexXTURBOXx Apr 9, 2022
0bb5e1c
Extract Hex class resource logic to a separate method (#20)
omeraydindev Jun 6, 2022
a490433
fix typos of hex strings decoding
Marukohe May 26, 2022
84c8f31
Update dependencies
ThexXTURBOXx Aug 26, 2022
e073500
Fix MethodCodeTooLargeException
ThexXTURBOXx Aug 26, 2022
87f29ea
Change Java distribution to Temurin
ThexXTURBOXx Aug 26, 2022
cd0b98d
Change Java distribution to Temurin
ThexXTURBOXx Oct 3, 2022
b5dfc0d
Update to ASM 9.4
ThexXTURBOXx Oct 12, 2022
df1c02f
Merge remote-tracking branch 'origin/main' into develop
ThexXTURBOXx Oct 12, 2022
6f8b680
Update GitHub Actions
ThexXTURBOXx Oct 18, 2022
09273cd
Fix issues with J2IRConverter
ThexXTURBOXx Nov 1, 2022
fa311e7
Update Gradle wrapper
ThexXTURBOXx Jan 28, 2023
fa12232
Update dependencies
ThexXTURBOXx Jan 28, 2023
da62063
Better warning
ThexXTURBOXx Jan 28, 2023
dd5cc4e
Downgrade ANTLR4 again
ThexXTURBOXx Jan 28, 2023
34cdd5e
More deterministic output
ThexXTURBOXx Mar 28, 2023
fd40bd2
Add BCV to README
ThexXTURBOXx Apr 15, 2023
6e36a60
Update to Gradle 8.1
ThexXTURBOXx Apr 15, 2023
f260c37
Globalize dependency versions
ThexXTURBOXx Apr 15, 2023
12c39ef
Migrate from JUnit 4 to 5 (#34)
Col-E Apr 15, 2023
f5c755a
Downgrade r8
ThexXTURBOXx Apr 15, 2023
26e93de
Cleanup
ThexXTURBOXx Apr 15, 2023
568fc41
Migrate to Google's smali fork
ThexXTURBOXx Jul 20, 2023
c4439ff
Update dependencies
ThexXTURBOXx Jul 20, 2023
571a90c
Update Gradle and fix deprecations
ThexXTURBOXx Jul 20, 2023
0128d9a
Add debug command shortcut
ThexXTURBOXx Aug 26, 2023
24e712e
Fix error messages
ThexXTURBOXx Aug 26, 2023
1096eeb
Better Lambda adapter
ThexXTURBOXx Aug 26, 2023
ca973ae
Add BAOS output possibility
ThexXTURBOXx Aug 26, 2023
fb5777f
Update to current pxb1988 version
ThexXTURBOXx Aug 31, 2023
3bdb743
Temp fix for dex 040
ThexXTURBOXx Aug 31, 2023
994ced1
Update to current pxb1988 version
ThexXTURBOXx Aug 31, 2023
bfa6a96
Update to current pxb1988 version
ThexXTURBOXx Sep 1, 2023
e25a0df
Update to current pxb1988 version
ThexXTURBOXx Sep 1, 2023
5bfbd25
Properly remove ANTLR from runtime classpath
ThexXTURBOXx Sep 4, 2023
ae273a8
Bump dependencies
ThexXTURBOXx Sep 28, 2023
f90e6bf
Fix bug I found randomly
ThexXTURBOXx Sep 28, 2023
2920e8d
Workaround for #25
ThexXTURBOXx Sep 28, 2023
ed0fcfa
Merge remote-tracking branch 'pxb1988/2.x' into main
ThexXTURBOXx Oct 3, 2023
f11ccd6
Update dependencies and dex2jar version
ThexXTURBOXx Nov 30, 2023
606e7aa
Update actions
ThexXTURBOXx Nov 30, 2023
b1c1fc1
Properly update ASM
ThexXTURBOXx Nov 30, 2023
2511e26
Get rid of most test exceptions
ThexXTURBOXx Nov 30, 2023
2891dde
Provide potential (but stupid) fix for new ASM bug
ThexXTURBOXx Nov 30, 2023
a191670
Better ignore rules
ThexXTURBOXx Dec 5, 2023
4394ecb
Fix Javadoc in many places
ThexXTURBOXx Dec 5, 2023
71b4dba
Enable Maven Central publishing
ThexXTURBOXx Dec 5, 2023
b142393
Fix a few bugs related to publishing
ThexXTURBOXx Dec 5, 2023
3f0104e
Adjust workflows
ThexXTURBOXx Dec 5, 2023
0fef1f0
Properly include secrets
ThexXTURBOXx Dec 5, 2023
c587559
Hopefully fix versions in workflow
ThexXTURBOXx Dec 5, 2023
d4dd9e6
Another try to fix workflow versions
ThexXTURBOXx Dec 5, 2023
9056e6c
Hopefully fix signing
ThexXTURBOXx Dec 5, 2023
75ab50e
Add master module and fix scopes
ThexXTURBOXx Dec 5, 2023
d71e5d8
Enable automatic publishing
ThexXTURBOXx Dec 5, 2023
8d58305
Enable dependency graphs
ThexXTURBOXx Dec 6, 2023
3f7e379
Cleanup single file
ThexXTURBOXx Dec 11, 2023
bdbc641
Fix HTML 5 tags
ThexXTURBOXx Dec 11, 2023
a74597e
Introduce build conventions
ThexXTURBOXx Dec 11, 2023
3dc11e6
Fix new Gradle-related issues
ThexXTURBOXx Dec 11, 2023
2e8b579
Introduce develop branch
ThexXTURBOXx Dec 13, 2023
406c438
Fix version in help menu
ThexXTURBOXx Dec 13, 2023
3946a9d
Temporary fix for remapping types
ThexXTURBOXx Dec 13, 2023
9c9580b
Allow verbose and debug dx output
ThexXTURBOXx Dec 16, 2023
2f6e9e0
Add experimental COMPUTE_FRAMES option
ThexXTURBOXx Dec 16, 2023
534c0ed
Update upload-artifact
ThexXTURBOXx Dec 16, 2023
e8f68d2
Fix line endings
ThexXTURBOXx Dec 28, 2023
b66663a
Add download information
ThexXTURBOXx Dec 28, 2023
f776c68
Optimize and comment frame-related stuff
ThexXTURBOXx Jan 16, 2024
8521b93
Update dependencies
ThexXTURBOXx Feb 9, 2024
cfe1fc6
Remove unnecessary dependency
ThexXTURBOXx Feb 9, 2024
408398a
Downgrade smali again as it does not support Java 8 anymore
ThexXTURBOXx Feb 9, 2024
db4c1fd
Fix CI
ThexXTURBOXx Feb 9, 2024
6a30d0a
Migrate dependency graph action
ThexXTURBOXx Feb 9, 2024
0ce6fa7
Update ANTLR and hence CI to Java 11
ThexXTURBOXx Feb 18, 2024
43e0936
Eliminate possible resource leak
ThexXTURBOXx Feb 18, 2024
6d462cf
Fix arguments for jar2dex
ThexXTURBOXx Feb 18, 2024
55c5df7
Optimize code and get rid of deprecations
ThexXTURBOXx Feb 18, 2024
6598690
Update Gradle to 8.6
ThexXTURBOXx Feb 18, 2024
b93da87
Add Java version switch
ThexXTURBOXx Feb 22, 2024
aba21c2
Update dependencies
ThexXTURBOXx Feb 22, 2024
564acf2
Update dependencies and Gradle
ThexXTURBOXx Apr 9, 2024
1c4cd5e
Update dependencies
ThexXTURBOXx May 17, 2024
8e7e9b0
Re-enable test that was previously broken but fixed in ASM 9.7
ThexXTURBOXx May 26, 2024
4a2d13f
Update commons-compress
ThexXTURBOXx May 26, 2024
7c278ab
Also update MCTLE fix to ASM 9.7
ThexXTURBOXx May 26, 2024
b12af56
Update Gradle wrapper
ThexXTURBOXx Jun 2, 2024
bfd23fa
Update dependencies and Gradle wrapper
ThexXTURBOXx Jul 12, 2024
09db1cf
Migrate to libs.versions.toml
ThexXTURBOXx Jul 12, 2024
8e13540
Migrate even more plugins to libs.versions.toml
ThexXTURBOXx Jul 12, 2024
ac8c02d
Fix errors in Jasmin parser
luca-saggese Jul 15, 2024
7ee7bbd
fix unwanted change
luca-saggese Jul 15, 2024
41ba4db
Merge remote-tracking branch 'luca-saggese/2.x' into develop
ThexXTURBOXx Jul 15, 2024
7f9e183
Nicer code
ThexXTURBOXx Jul 15, 2024
0c7f2dd
Support up to Java version 23
ThexXTURBOXx Jul 15, 2024
adade85
Fix workflow badge
ThexXTURBOXx Jul 28, 2024
290d877
Fix bug submitted via email
ThexXTURBOXx Sep 15, 2024
e1786dd
Update dependencies
ThexXTURBOXx Sep 15, 2024
e6f54e0
an attempt to fix #25
Rabbit0w0 Oct 20, 2024
2483b9c
test and comment done
Rabbit0w0 Oct 22, 2024
9d241b3
Fix style
ThexXTURBOXx Oct 24, 2024
95e60e7
Better variables
ThexXTURBOXx Oct 25, 2024
a074958
Update libraries and Gradle wrapper
ThexXTURBOXx Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ develop ]
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'gradle'

- name: Generate dependency graphs
uses: gradle/actions/dependency-submission@v3
with:
dependency-graph: generate

- name: Build dex-tools with Gradle
run: ./gradlew check distZip

- name: Archive dex tools
uses: actions/upload-artifact@v4
if: success()
with:
name: dex-tools
path: dex-tools/build/distributions/dex-tools-*.zip
35 changes: 0 additions & 35 deletions .github/workflows/gradle.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'gradle'

- name: Generate and submit dependency graphs
uses: gradle/actions/dependency-submission@v3
with:
dependency-graph: generate-and-submit

- name: Build dex-tools with Gradle
run: ./gradlew check -Pversion=2.4.${{ github.run_number }} distZip

- uses: ncipollo/release-action@v1
if: success()
with:
tag: 2.4.${{ github.run_number }}
artifacts: dex-tools/build/distributions/dex-tools-*.zip

- name: Archive dex tools
uses: actions/upload-artifact@v4
if: success()
with:
name: dex-tools
path: dex-tools/build/distributions/dex-tools-*.zip

- name: Publish to Maven Central
run: ./gradlew -Pversion=2.4.${{ github.run_number }} publish closeAndReleaseStagingRepositories
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
*/target/*
target/*
*/build
build
*/.project
*/.classpath

*.bak
*.orig
*/nb-configuration.xml
*.iml
*.ipr
*.iws
*~
*.class

.gradle
.idea
.vscode
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

Loading