corda artifactory



I want to use my cordapp project as a package in another project

Correct me if I am wrong, but I think cordapp already takes care of artifactory configuration by default.

I want to just reference it my orher project with cordaCompile and cordapp project(":project-name") but it has been quite challenging.

Please how do I go about it?

Mike Hearn

In non-Corda related modules you should be able to depend on your CorDapp module in the normal way, without using any of the special targets from the Gradle plugins.

Alternatively, split your shared code out into a normal Java module that both depend on.