Commit 7f1ffb3
ADFA-4643: Remove com.sun.jna from the APK (#1577)
* ADFA-4643: Remove com.sun.jna from the APK
com.android.tools:common pulls in net.java.dev.jna transitively via
jna-platform, purely for a macOS-only Rosetta/x86-emulation detector
(ComputerArchUtilsKt.computeIsRosetta()) that's gated behind an
os.name check unreachable on Android. Exclude the jna group where
aapt2-common is depended on to drop it from the APK, and remove the
now-redundant com/sun/jna packaging exclude.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* style: Fix tab/space formatting in templates-api/build.gradle.kts
Spotless ratchet pulled in this file's existing 4-space indentation
after ADFA-4643 touched it. Auto-fixed by spotlessApply.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 7242301 commit 7f1ffb3
3 files changed
Lines changed: 7 additions & 4 deletions
File tree
- composite-builds/build-logic/plugins/src/main/java/com/itsaky/androidide/plugins/conf
- subprojects/aaptcompiler
- templates-api
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
0 commit comments