I hope this helps . Well I found a workaround, I just disabled AnnotationDatabase processing and removed RoboBlender dependency and that fix my problem. I would still like to know why I'm having this problem in the first place.
I wish did fix the issue. When Gradle parses gradle.properties file, too much has already happened. So the only way to use a custom Gradle home is through a command line flag, which has the highest precedence, or through a system property. Note that the documentation indicates that and does not mention the ability to set that value inside a properties file.
Does Gradle / javacard plugin support the build of two applets dependency in a multi-project gradle build?
will help you I think I found a solution that works in a gradle way. And although, the gradle plugin is unable to resolve properly the dependency between the two javacard projects, the override mechanism of a gradle task allowed me to insert an additional dependency relation. Here is the relevant portion of proj02/build.gradle that did the trick: