build(applet): enable int support in CAP converter

M2D.2 introduced StructuralCbor.encodeUint(int,...) and call sites
in DeviceResponseBuilder that pass int literals. The JC converter
rejected this without an explicit ints="true" attribute, breaking
both j3r180 and j3r452 CAP builds since 9879668.

ant-javacard's <cap ints="true"> opts the package into JCRE int
support. The CBOR encoders need it to handle uint values up to
2^32-1 per RFC 8949.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
michael
2026-06-17 17:07:18 -07:00
parent d24d72e119
commit dc5118f392

View File

@@ -119,6 +119,7 @@
aid="${cap.elf.aid}"
package="com.dangerousthings.aliro"
version="0.1"
ints="true"
classes="${project.build.outputDirectory}">
<applet class="com.dangerousthings.aliro.AliroApplet"
aid="A000000909ACCE5501"/>