a2a79404b8
GitHub Action (To retire Travis) ( #2401 )
...
* feat: attempt at github action workflow
* build: run on any push/branch (github action)
* fix: drop 32bit and use proper windows variable
* fix: add cache system for gradle
* fix: only pushes (not prs)
* fix: proper windows command
* fix: bye bye travis (thanks for all the fish)
* style: shorten name of lanes
* style: this is jdk, not jvm
2020-09-13 12:28:35 -04:00
3101a05ef6
fix: add development next version (S) - API 31
2020-09-13 08:52:15 -04:00
6427a28beb
refactor: prevent casting by setting proper types
2020-09-13 08:45:30 -04:00
943b424172
fix: use proper array syntax
2020-09-13 08:45:05 -04:00
120c63df75
refactor: remove unused methods/variables
2020-09-13 08:44:40 -04:00
65eeb2fb4a
refactor: make constant values final
2020-09-13 08:44:08 -04:00
2720cf93a3
refactor: put same path switch on same line
2020-09-13 08:41:55 -04:00
35a4bd6718
style: re-org exceptions to have suffix ( #2400 )
...
* style: re-org exceptions to have suffix
* fix: add missing exception for ResResSpec
2020-09-13 08:40:03 -04:00
22fdee4d2e
feat: update internal framework to API 30 (11 Release)
2020-09-12 11:54:15 -04:00
d3f9d5acd2
build: update 'proguard' from 6.1.1 to 7.0.0
...
`jcenter()` it's needed because they didn't upload to Maven Central yet. https://github.com/Guardsquare/proguard/issues/54
There are some minor issues with proguard still.
It produces a lot of warnings since Gradle 6.0, but it's fixable on their side. https://github.com/Guardsquare/proguard/issues/14
2020-08-14 07:56:52 -04:00
4c3f1f335a
refactor: 'compile' it's deprecated
...
`compile` it's deprecated since Gradle 6.0 and been discouraged since Gradle 3.4.
We should use `implementation` and `api` instead because `compile` will be removed in Gradle 7.0.
https://docs.gradle.org/6.5.1/userguide/upgrading_version_5.html#deprecations
2020-08-14 07:56:52 -04:00
5a5566bf27
build: update 'gradle-wrapper' from 6.4.1 to 6.5.1
2020-08-14 07:56:52 -04:00
c82e92eec4
build: update 'shadow' from 5.1.0 to 6.0.0
2020-08-14 07:56:52 -04:00
87a9c659f5
convert CRLF line endings to LF in .java
file
2020-08-09 07:57:00 -04:00
8009a10a5d
remove executable bit set on .java
file
2020-08-09 07:54:51 -04:00
662d587a1e
updated gradle
2020-07-16 09:39:53 -04:00
de5d0e41cf
fix: prevent nullying out sdk info when compileSdkVersion is found
2020-06-27 15:21:05 -04:00
546577df6a
exit code 1 if parameters are wrong
...
for use in scripts, it's not convenient to get an exit code 0 on
failure.
2020-06-16 06:18:57 -04:00
ecbcfb437e
match test apk name with the relevant issue.
2020-06-09 07:08:22 -04:00
306959a6fb
fix the usage of debug flag (-d) when using aapt2
...
- when using aapt and debug flag, we remove the 'debuggable' attribute from AndroidManifest and aapt adds it back. (see issue 1621)
- when using aapt2 and debug flag, we add and set the value of 'debuggable' attribute ourselves.
2020-06-09 07:08:22 -04:00
408050ffde
Add tests to ensure empty, uncompressed files are put on the doNotCompress list.
...
Also, fix a bug where ext would retain its value from a previous
iteration of the loop, since we don't always overwrite it now.
2020-06-09 07:05:43 -04:00
05f81f9dd0
Change zero-byte-file tests so they test the correct behavior.
...
* The empty test file needs to be STORED in the testapp, so put it on
the initial doNotCompress list.
* It needs to have a file extension that matches the NO_COMPRESS_PATTERN.
* assertNotSame tests for object equality, which doesn't work for String
comparisons.
2020-06-09 07:05:43 -04:00
5db19b3329
Put empty, uncompressed files on doNotCompress list ( fixes #2333 ).
...
We do not want one empty file to cause all files with that extension to
not be compressed, so we always put the full filename on the doNotCompress
list in this case.
2020-06-09 07:05:43 -04:00
a04b9cd883
build: update to smali/baksmali 2.4.0
2020-05-26 19:29:37 -04:00
39b4777553
docs: adjust testing behavior with new gradlew
2020-05-26 19:25:08 -04:00
83a45921ea
fix: put the resources.arsc file under STORED compression into framework
2020-04-12 07:27:28 -04:00
44a2e87f81
refactor: support more random suffix to prevent multi-thread crash
2020-04-11 06:50:09 -04:00
d4b2314e26
Merge branch 'issue-2251' of https://github.com/chris-sharl/Apktool into chris-sharl-issue-2251
2020-04-11 06:43:54 -04:00
b4493a51bb
build: set calendar year to start date (2010) of project
2020-04-11 06:33:23 -04:00
3f831c8221
refactor: copyright year should be year started, not current year
2020-04-11 06:33:05 -04:00
699bb62d6c
Merge branch 'update-project' of https://github.com/friederbluemle/Apktool into friederbluemle-update-project
2020-04-11 06:24:52 -04:00
54c3cfedf5
Use JAVA_HOME on windows if defined
2020-04-11 06:09:51 -04:00
81ca785e02
Fix file header comment format
2020-02-29 17:37:46 -08:00
fec0193362
Update hierynomus.license to 0.15.0
2020-02-29 17:37:45 -08:00
51240d17e6
Update Gradle Wrapper to 5.6.4
2020-02-29 17:34:52 -08:00
f3136bc52b
build: update jdk8 to 211 from 231 (?)
2020-02-05 06:44:36 -05:00
5272ae24b3
fix issue-2251
2019-12-19 18:39:04 +08:00
0143dcfd24
build: start new dev cycle (2.4.1-SNAPSHOT)
2019-11-29 18:16:06 -05:00
511718ef3a
build: version bump (2.4.1)
2019-11-29 11:55:57 -05:00
ee54853718
feat: update internal framework to API 29 (10 Release)
2019-11-29 11:43:31 -05:00
b05f19b80d
fix: patch aapt2 to not run custom commands on passed aapt2 binary
2019-11-20 06:46:06 -05:00
d6f38e38cd
Only attempt to use -e option when the packaged aapt binary is used.
2019-11-20 06:46:06 -05:00
5d488e5f22
Create file containing the do-not-compress extensions and pass it to aapt.
2019-11-20 06:46:06 -05:00
11ea666c13
Merge branch 'master' of github.com:iBotPeaches/Apktool
2019-11-19 06:55:46 -05:00
aedee6052f
Merge branch 'realityJie-fix/uncompressed_files_bug'
2019-11-19 06:55:41 -05:00
b02b265ae2
style: cleanup syntax
2019-11-19 06:55:27 -05:00
7910802648
Merge branch 'fix/uncompressed_files_bug' of https://github.com/realityJie/Apktool into realityJie-fix/uncompressed_files_bug
2019-11-19 06:53:00 -05:00
c1f9afe33c
fix: enhance bitness detection on windows
2019-11-19 06:45:07 -05:00
f076def4c5
docs: update internal information for building aapt
2019-11-18 19:59:51 -05:00
37505ff509
build: update aapt/aapt2 binaries to 71b16b59 (mac)
2019-11-18 19:48:33 -05:00