mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
JCenter is deprecated, can no longer be published to, and is scheduled for removal. It is now causing build failures. Replace with Maven Central. Also remove mavenLocal() as this is not recommended practice: - https://docs.gradle.org/current/userguide/declaring_repositories.html#sec:case-for-maven-local Note that Jitpack still needs to be included as a package repository for Java chaincode since it has dependencies on an old version of com.github.everit-org.json-schema:org.everit.json.schema that is only published there. Signed-off-by: Mark S. Lewis <mark_lewis@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