fabric-samples/chaincode/fabcar/java
Mark S. Lewis 0f877fad4d
Remove JCenter as a Gradle package repository (#589)
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>
2022-01-26 16:29:09 -05:00
..
config/checkstyle [FAB-16607] Update FabCar to reflect CC updates 2019-09-19 13:26:51 +01:00
gradle/wrapper Update fabcar java sample build (#219) 2020-07-01 17:12:11 +01:00
src Fix java fabcar queryAllCars (#239) 2020-07-09 17:32:08 +01:00
.gitignore [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
build.gradle Remove JCenter as a Gradle package repository (#589) 2022-01-26 16:29:09 -05:00
gradlew [FAB-6415] Java 11 support for FabCar sample 2019-09-24 09:41:02 +01:00
gradlew.bat [FAB-6415] Java 11 support for FabCar sample 2019-09-24 09:41:02 +01:00
README.md [FAB-15213] Add Java FabCar sample contract 2019-07-29 11:59:30 +00:00
settings.gradle [FAB-6415] Java 11 support for FabCar sample 2019-09-24 09:41:02 +01:00

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