forked from iBotPeaches/Apktool
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # brut.apktool/apktool-lib/src/main/java/brut/androlib/AaptInvoker.java # brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkDecoder.java # brut.apktool/apktool-lib/src/main/java/brut/androlib/res/ResourcesDecoder.java # brut.apktool/apktool-lib/src/test/java/brut/androlib/decode/MissingDiv9PatchTest.java # brut.j.util/src/main/java/brut/util/BrutIO.java # brut.j.util/src/main/java/brut/util/OSDetection.java # build.gradle.kts
- Loading branch information
Showing
209 changed files
with
5,056 additions
and
4,778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,10 +76,16 @@ jobs: | |
with: | ||
distribution: 'zulu' | ||
java-version: ${{ matrix.java }} | ||
- name: Build and test | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: build shadowJar proguard | ||
|
||
- uses: gradle/actions/[email protected] | ||
|
||
- name: Build (Linux/Mac) | ||
if: runner.os != 'Windows' | ||
run: ./gradlew build shadowJar proguard | ||
|
||
- name: Build (Windows) | ||
if: runner.os == 'Windows' | ||
run: ./gradlew.bat build shadowJar proguard | ||
|
||
upload-artifact: | ||
runs-on: ubuntu-latest | ||
|
@@ -91,17 +97,26 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 17 | ||
- name: Build | ||
uses: gradle/[email protected] | ||
|
||
- uses: gradle/actions/[email protected] | ||
with: | ||
dependency-graph: generate-and-submit | ||
arguments: build shadowJar proguard | ||
|
||
- name: Build (Linux/Mac) | ||
if: runner.os != 'Windows' | ||
run: ./gradlew build shadowJar proguard | ||
|
||
- name: Build (Windows) | ||
if: runner.os == 'Windows' | ||
run: ./gradlew.bat build shadowJar proguard | ||
|
||
- name: Upload | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: apktool.jar | ||
path: brut.apktool/apktool-cli/build/libs/apktool-v* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ jobs: | |
with: | ||
distribution: 'zulu' | ||
java-version: 17 | ||
- uses: gradle/wrapper-validation[email protected] | ||
- uses: gradle/actions/wrapper-validation@v4.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-keep class brut.apktool.Main { | ||
public static void main(java.lang.String[]); | ||
} | ||
-keepclassmembers enum * { | ||
static **[] values(); | ||
static ** valueOf(java.lang.String); | ||
} | ||
|
||
# https://github.com/iBotPeaches/Apktool/pull/3670#issuecomment-2296326878 | ||
-dontwarn com.google.j2objc.annotations.Weak | ||
-dontwarn com.google.j2objc.annotations.RetainedWith |
Oops, something went wrong.