bertrandmartel / javacard-gradle-plugin

:key: Gradle plugin for JavaCard development
MIT License
32 stars 14 forks source link

Share common project (dependency,library) in two other project problem #16

Open darvishpoor opened 4 years ago

darvishpoor commented 4 years ago

I'm not experienced in javacard development In our business we have two separate javacard projects that generate two .cap files according to customer's request or his/her smartcard datasheet specs , but there are some common java classes that are used in both of them!

with dependency handling explained in https://github.com/bertrandmartel/javacard-gradle-plugin/issues/1, it seems we have one applet.cap + one common.cap that first common.cap must be installed and then applet.cap must be installed. Is there any solution in this plugin that we could install only one applet on smartcard and we have common source and applet source separately (good dependency handling and management) ?

martinpaljak commented 4 years ago

You could use ant-javacard directly and use sources and sources2 for this purpose

darvishpoor commented 4 years ago

Thank you for your replying, but can't this plugin handle it and why we use ant and how? Are there any example?