fidesmo / gradle-javacard

Apache License 2.0
30 stars 10 forks source link

Dependency management for cap / exp files #19

Open slomo opened 9 years ago

slomo commented 9 years ago

It seems there are multiple solutions for pulling in other javacard project. Either they could be provided as jar and be translated as well or their exp file needs to be available. This requires some publishing of the conversion artifacts which can be archived by the following snippet:

    artifacts {
        archives(convertJavacard.capFile) {
           type 'cap'
           extension 'cap'
           builtBy convertJavacard
        }
        archives(convertJavacard.expFile) {
           type 'exp'
           extension 'exp'
           builtBy convertJavacard
       }
    }
typelogic commented 4 years ago

Any status of this PR? I need to build a dependency between two javacard cap builds, for a cleaner gradle script.