Skip to content

Commit

Permalink
fix d8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xzxADIxzx committed Feb 4, 2025
1 parent 0f26c2d commit c837786
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 23
java-version: 17

- name: Change permissions
run: chmod +x build.sh dependencies.sh
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ lib=$(find lib -type f -name *.jar -print | sed -e "s/^/--classpath /" | p
cls=$(find bin -type f -name *.class -print | paste -s)
jar=$(find $pf -type f -name android.jar -print | sort --reverse | head --lines=1)

echo "Found android.jar in $(dirname $jar)"

d8 $lib --lib $jar --output bin $cls

jar --update --file build/$project.jar -C bin classes.dex

0 comments on commit c837786

Please sign in to comment.