Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpaljak authored Feb 29, 2024
1 parent 5061758 commit 3a2871e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

> Easy to use [Ant](https://ant.apache.org/) task for building JavaCard CAP files in a declarative way.
Have a consistent and concise build declaration for JavaCard applets, no matter which which JavaCard version you target.

[![Build Status](https://github.com/martinpaljak/ant-javacard/workflows/Robot%20builder/badge.svg)](https://github.com/martinpaljak/ant-javacard/actions) [![Latest release](https://img.shields.io/github/release/martinpaljak/ant-javacard.svg)](https://github.com/martinpaljak/ant-javacard/releases/latest) [![Maven version](https://img.shields.io/maven-metadata/v?label=javacard.pro%20maven%20version&metadataUrl=https%3A%2F%2Fjavacard.pro%2Fmaven%2Fcom%2Fgithub%2Fmartinpaljak%2Fant-javacard%2Fmaven-metadata.xml)](https://gist.github.com/martinpaljak/c77d11d671260e24eef6c39123345cae) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/martinpaljak/ant-javacard/blob/master/LICENSE)

## Features
Expand All @@ -21,7 +23,6 @@

## Download & Use
* Download [`ant-javacard.jar`](https://github.com/martinpaljak/ant-javacard/releases/latest/download/ant-javacard.jar)
* Java version usable with all SDK-s is 1.8! Use SDK 3.0.5u3 and `targetsdk` to compile with Java 11 for older versions.
* Or use the download task:
```xml
<get src="https://github.com/martinpaljak/ant-javacard/releases/latest/download/ant-javacard.jar" dest="." skipexisting="true"/>
Expand Down Expand Up @@ -116,6 +117,15 @@ Notes:
* `%a` - package AID
* `%j` - targeted JavaCard version

### Command line utility
`ant-javacard.jar` can be used to dump built .cap file metadata and to re-run off-card verifier.

- dump .cap file metadata
- `java -jar ant-javacard.jar <capfile>`
- run off-card verifier
- `java -jar ant-javacard.jar <sdk> <capfile> <expfiles>`


## Maven dependency
Releases are published to [`https://mvn.javacard.pro/maven/`](https://mvn.javacard.pro/maven/). To use it, add this to your `pom.xml`:

Expand Down

0 comments on commit 3a2871e

Please sign in to comment.