Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies not working #11

Open
promovicz opened this issue Feb 10, 2019 · 1 comment
Open

Dependencies not working #11

promovicz opened this issue Feb 10, 2019 · 1 comment

Comments

@promovicz
Copy link

I am trying to use your plugin in favor of the fidesmo one because yours supports library dependencies.

Unfortunately, this does not seem to be working. I have declared two libraries and one applet with some simple dependencies between them. The builds for all of them do not seem to have correct build dependencies, so the build fails unless it is executed specifically in dependency order.

My project can be found here:
https://github.com/OpenJavaCard/openjavacard-coap

There are several problems with this build:

  • the "build" target does not depend on "buildJavaCard"
  • the varios "buildJavaCard" targets do not reflect project dependencies

The following will not build JavaCard files:
$ ./gradlew clean build

The following will fail because of missing library dependencies:
$ ./gradlew clean buildJavaCard

The following does work:
$ ./gradlew clean library-core:buildJavaCard library-server:buildJavaCard applet-server-tiny:buildJavaCard

Am I doing something wrong?

@bertrandmartel
Copy link
Owner

bertrandmartel commented Feb 11, 2019

@promovicz Hello thanks for your feedback, I think it's a bug for the case using buildJavaCard. I will test it with other modules dependency also using javacard plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants