Cap extension object (the same as defined in https://github.com/martinpaljak/ant-javacard#syntax
| Type | Name and description |
|---|---|
java.lang.String |
aidAID (hex) of the package. |
java.util.List<Applet> |
appletslist of applets. |
java.lang.String |
classespath to pre-compiled class files to be assembled into a CAP file. |
boolean |
debugif set to true, generates debug CAP components. |
boolean |
defaultSourcesif true the first source dir from the source set is used. |
Dependencies |
dependenciesdependencies |
java.lang.String |
exportpath (folder) where to place the JAR and generated EXP file. |
boolean |
findSourcesIf true the sources are determined automatically. |
boolean |
intsif set to true, enables support for 32 bit int type. |
java.lang.String |
jcapath where to save the generated JavaCard Assembly (JCA) file. |
java.lang.String |
jckitpath to the JavaCard SDK to be used for this CAP. |
java.lang.String |
outputpath where to save the generated CAP file. |
java.lang.String |
packageNamename of the package of the CAP file. |
java.lang.String |
sourcespath to Java source code, to be compiled against the current JavaCard SDK. |
boolean |
verifyif set to false, disables verification of the resulting CAP file with offcardeverifier. |
java.lang.String |
versionversion of the package. |
| Type | Name and description |
|---|---|
void |
aid(java.lang.String aid) |
Applet |
applet(groovy.lang.Closure closure) |
void |
debug(boolean debug) |
void |
defaultSources(java.lang.Boolean defaultSources) |
void |
dependencies(groovy.lang.Closure closure) |
void |
export(java.lang.String export) |
void |
findSources(java.lang.Boolean findSources) |
void |
ints(boolean ints) |
void |
jca(java.lang.String jca) |
void |
jckit(java.lang.String path) |
void |
output(java.lang.String output) |
void |
packageName(java.lang.String packageName) |
void |
sources(java.lang.String path) |
void |
verify(boolean verify) |
void |
version(java.lang.String version) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
AID (hex) of the package. Recommended - or set to the 5 first bytes of the applet AID if left unspecified.
list of applets.
path to pre-compiled class files to be assembled into a CAP file. If both classes and sources are specified, compiled class files will be put to classes folder, which is created if missing.
if set to true, generates debug CAP components. Optional.
if true the first source dir from the source set is used. Otherwise the most recet (last).
dependencies
path (folder) where to place the JAR and generated EXP file. Optional.
If true the sources are determined automatically. The first existing source dir in source sets is taken.
if set to true, enables support for 32 bit int type. Optional.
path where to save the generated JavaCard Assembly (JCA) file. Optional.
path to the JavaCard SDK to be used for this CAP. Optional if javacard defines one, required otherwise.
path where to save the generated CAP file. Required.
name of the package of the CAP file. Optional - set to the parent package of the applet class if left unspecified.
path to Java source code, to be compiled against the current JavaCard SDK. Either sources or classes is required.
if set to false, disables verification of the resulting CAP file with offcardeverifier. Optional.
version of the package. Optional - defaults to 0.0 if left unspecified.