Commit Graph

2111 Commits

Author SHA1 Message Date
oSumAtrIX
0fd4443db7
build: Revert publishing on Jitpack 2024-02-14 00:08:44 +01:00
oSumAtrIX
fc4a59fb33
Merge branch 'upstream' 2023-11-03 00:16:28 +01:00
dependabot[bot]
63b1976448
build(deps): bump org.apache.commons:commons-text from 1.10.0 to 1.11.0 (#3414)
Bumps org.apache.commons:commons-text from 1.10.0 to 1.11.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 20:28:50 -04:00
dependabot[bot]
750fdf37ca
build(deps): bump commons-cli:commons-cli from 1.5.0 to 1.6.0 (#3413)
Bumps commons-cli:commons-cli from 1.5.0 to 1.6.0.

---
updated-dependencies:
- dependency-name: commons-cli:commons-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 20:16:25 -04:00
dependabot[bot]
b3453bdf9c
build(deps): bump commons-io:commons-io from 2.14.0 to 2.15.0 (#3412)
Bumps commons-io:commons-io from 2.14.0 to 2.15.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 20:05:35 -04:00
Andrew Szeto
01c949a8ff
Update Docker build instructions after #3363 (#3407) 2023-10-21 08:57:57 -04:00
Connor Tumbleson
247735c434
feat: de-dupe attribute names during styles writing (#3404) 2023-10-16 07:15:34 -04:00
Connor Tumbleson
03fa70bd2a
build: docker fixes (#3378)
* build: shorten tags on docker push

* build: only deploy on commits to master
2023-10-16 06:58:05 -04:00
Connor Tumbleson
34a6970852
build: test on lts versions (including 21) (#3381)
* build: test on lts versions

* build: upgrade to proguard 7.4.0
2023-10-14 06:52:52 -04:00
Josh Miers
e2a5742b18
use apiLevel instead of forceApi when building the apk (#3399) 2023-10-11 19:44:00 -04:00
Connor Tumbleson
199780103c
refactor: support current position during chunk verbose output (#3395) 2023-10-10 21:23:05 -04:00
dependabot[bot]
29b8430b00
build(deps): bump docker/setup-buildx-action from 2 to 3 (#3386)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 06:22:37 -04:00
dependabot[bot]
81db0427be
build(deps): bump docker/login-action from 2 to 3 (#3385)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 06:07:24 -04:00
dependabot[bot]
db4e62813d
build(deps): bump docker/build-push-action from 4 to 5 (#3384)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 05:47:55 -04:00
oSumAtrIX
c68c74f7d4
build: Publish on Jitpack 2023-10-09 05:15:46 +02:00
ArjunaKumarMohanta
525c0125a3
feat: Upgrade gradle to v8.4 (#3376) 2023-10-08 14:59:26 -04:00
oSumAtrIX
35e23a9ad7
Merge branch 'upstream'
# Conflicts:
#	brut.apktool/apktool-lib/build.gradle.kts
#	build.gradle.kts
2023-10-08 20:42:48 +02:00
Connor Tumbleson
d2599874d8
build: start new dev cycle (2.9.1-SNAPSHOT) 2023-10-08 14:10:20 -04:00
Connor Tumbleson
b64e257c9b
build: version bump (2.9.0) 2023-10-08 09:40:30 -04:00
Connor Tumbleson
6794f54aa0
build: rename 2.8.2 to 2.9.0 2023-10-08 09:40:15 -04:00
Connor Tumbleson
ef268f2d26
build: restore aapt1 miui qualifiers + static (#3379)
* build: restore aapt1 miui qualifiers (mac)

* build: restore aapt1 miui qualifiers (unix/win)
2023-10-08 08:04:35 -04:00
Connor Tumbleson
7fe58ca0c2
Android 14 - Support for Grammatical Inflection (#3374)
* build: update aapt/aapt2 with win/linux binaries

* docs: add note for specific aapt tag

* test: test for grammatical inflection

* build: update aapt/aapt2 with mac binaries

* build: update aapt/aapt2 with mac binaries (static libstl)
2023-10-08 06:38:10 -04:00
maksz42
01cf954c23
Update Windows helper script to handle /c properly. (#2973) 2023-10-06 07:22:31 -04:00
Connor Tumbleson
959b6de063
fix: support COMPACT/OFFSET16 packed resources. (#3372)
* fix: support COMPACT/OFFSET16

* fix: properly read specNamesId from compact resources

* fix: properly read OFFSET16 in entries

* test: add assertions for compact/offset16 sample

* refactor: extract flags out of private functions
2023-10-06 07:22:02 -04:00
Connor Tumbleson
616539f24b
refactor: hard-code IMAGE_NAME, add some spaces (#3371) 2023-10-04 20:52:37 -04:00
Connor Tumbleson
679c133d21
feat: make aapt2 default (#3370) 2023-10-04 20:52:28 -04:00
Ben Curtis
cc5a8bad17
Added support for PR builds on master (#3363)
* added support for PR builds on master

* add linefeed to .dockerignore

* single dockerfile

* fix dockerfile ref

* update for java 17 lts
2023-10-04 20:14:56 -04:00
Connor Tumbleson
bc7394080d
Android 14 Support (Partial) (#3206)
* fix: prevent over-reading config flags

* feat: add grammatical inflection

* fix: add natural requirement for U

* fix: UpsideDownCake is now 34

* test: test for grammatical inflection

* fix: add detection for compact resources

* fix: add detection for offset16 table types

* Revert "test: test for grammatical inflection"

This reverts commit fa08cef9fe6d436176f74152d85a652a771971ad.

* refactor: use enum instead of magic numbers
2023-10-04 20:13:58 -04:00
Connor Tumbleson
91a5863f16
build: update aapt/aapt2 with win/linux binaries (#3360)
* build: update aapt/aapt2 with win/linux binaries

* build: update aapt/aapt2 with mac binaries
2023-10-04 19:03:12 -04:00
Ben Curtis
448440b528
Added auto-build of docker image (#3361)
* added auto-build of docker image

* updated instructions

* add tag image

* clear refs/tags

* dockerfile updates

* build: adjust workflow to remove qemu and collision on github_*

---------

Co-authored-by: Connor Tumbleson <iBotPeaches@users.noreply.github.com>
2023-10-03 06:22:31 -04:00
Ben Curtis
45d0a00088
Add Docker support (#3351)
* add Docker image

* use latest version in Docker image

* Dockerfile optimizations from PR feedback
2023-10-02 06:47:40 -04:00
dependabot[bot]
a1f4a4b6c8
build(deps): bump commons-io:commons-io from 2.13.0 to 2.14.0 (#3358)
Bumps commons-io:commons-io from 2.13.0 to 2.14.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 06:44:03 -04:00
dependabot[bot]
9b92ddb78c
build(deps): bump gradle/gradle-build-action from 2.8.0 to 2.9.0 (#3359)
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 06:43:55 -04:00
Connor Tumbleson
955c5fe847
build: run ci on changes to "libs.versions.toml" 2023-10-02 06:17:33 -04:00
Connor Tumbleson
9265c8bfde
refactor: remake android-framework jar file (#3356) 2023-10-01 07:42:03 -04:00
Connor Tumbleson
ce6e4c6cf6
build: add dependency graph support (#3355) 2023-10-01 06:48:22 -04:00
Connor Tumbleson
23d9ec0e58
refactor: support more resource-mode params (#3354) 2023-10-01 06:26:54 -04:00
Connor Tumbleson
93c66ef373
build: migrate towards "libs.versions.toml" (#3353) 2023-10-01 06:08:47 -04:00
Connor Tumbleson
77b4229d10
refactor: suppress last unused method return (#3349) 2023-09-30 07:33:06 -04:00
Connor Tumbleson
9c465321f1
refactor: use static inner classes for AbstractDirectory (#3348) 2023-09-30 07:27:20 -04:00
Connor Tumbleson
f63bbc0be2
fix: handle duplicate res entries during a complex resource (#3347) 2023-09-30 07:21:58 -04:00
Connor Tumbleson
aea1d68dbc
refactor: adjust line to fit 120 length line endings in /value (#3338) 2023-09-18 06:18:44 -04:00
Connor Tumbleson
f3936cbd22
fix: enforce java 1.8 compatibility with built artifacts (#3330) 2023-09-13 06:25:47 -04:00
Connor Tumbleson
515af4faf8
Reworks Attr/Array Handler (#3326)
* test: add example pkcs key

* fix: rework towards ResScalarValue instead of ResIntValue

* fix: prefer res name instead of "guessing" based on ids
2023-09-11 19:01:09 -04:00
Connor Tumbleson
c07e4a92e6
fix: load type spec if no TYPE_SPEC chunks (#3325) 2023-09-11 06:24:23 -04:00
dependabot[bot]
dd32a3c301
build(deps): bump actions/checkout from 3 to 4 (#3327)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 06:19:27 -04:00
Connor Tumbleson
6e3fac2414
refactor: make _options lowercase (#3324) 2023-09-09 09:47:41 -04:00
Connor Tumbleson
a117132e39
Feat: Introduce "res-mode" options. (#3318)
* Revert "Remove Apktool Dummys. (#3258)"

This reverts commit 0e226928ce.

* feat: properly add dummys

* refactor: shorten ResTypeSpec

* style: remove extra space

* refactor: extract FlagItem into own class

* refactor: notate which type is null

* fix: only add dummys if enabled

* feat: skip unknown (if enabled)

* feat: introduce "res-mode"

* feat: expose config on res table

* feat: add method to base attr for res skips

* fix: ensure autobuild doesn't choke

* refactor: remove java17 enhanced switch

* refactor: rename methods

* refactor: cleanup res-mode param

* test: introduction of test/sample apk

* refactor: make ResXmlPatcher public for loading XML

* test: assertions for dummy|leave|retain

* fix: prevent using `@null` as a name

* refactor: shorten long param for 'resm'

* refactor: leave for preserve
2023-09-09 07:29:39 -04:00
dependabot[bot]
f0ca6d11f9
build(deps): bump gradle/gradle-build-action from 2.7.1 to 2.8.0 (#3316)
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 11:30:18 -04:00
Connor Tumbleson
dcb6788243
refactor: verbose doesn't adapt handler (#3310) 2023-09-03 07:06:44 -04:00