I am new to Gradle and trying to integrate and run my java application on hyper-ledger fabric.
I added this code to download the dependencies.
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://nexus.hyperledger.org/content/repositories/snapshots/"}
dependencies {
implementation 'org.hyperledger.fabric-sdk-java:fabric-sdk-java:1.4.4'
implementation group: 'org.hyperledger.fabric-chaincode-java', name:
'fabric-chaincode-shim', version: '1.4.2'
implementation group: 'org.json', name: 'json', version: '20180813'
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.2'
testImplementation 'org.assertj:assertj-core:3.11.1'
testImplementation 'org.mockito:mockito-core:2.+'
}
Refreshing the build.gradle
file executes successfully but does not download anything. Please let me know what can be the solution. Thanks