Skip to content

Dependencies not working #11

@promovicz

Description

@promovicz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions