mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
- Update gradle version - Switch to application plugin (cc is started as an app not a lib, and java-library-distribution is still incubating) - make sure tests and coverage checks are run before installDist Signed-off-by: James Taylor <jamest@uk.ibm.com> |
||
|---|---|---|
| .. | ||
| config/checkstyle | ||
| gradle/wrapper | ||
| src | ||
| .gitignore | ||
| build.gradle | ||
| gradlew | ||
| gradlew.bat | ||
| README.md | ||
| settings.gradle | ||
Java FabCar contract sample
The directions for using this sample are documented in the Hyperledger Fabric Writing Your First Application tutorial.
The tutorial is based on JavaScript, however the same concepts are applicable when using Java.
To install and instantiate the Java version of FabCar, use the following command instead of the command shown in the Launch the network section of the tutorial:
./startFabric.sh javascript
NOTE: After navigating to the documentation, choose the documentation version that matches your version of Fabric