Update java template example for HC00
This commit is contained in:
parent
787056f29a
commit
b5517f632b
@ -6,6 +6,9 @@ plugins {
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = "$artifactoryContextUrl/"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -1,40 +1,9 @@
|
||||
pluginManagement {
|
||||
// Declare the repositories where plugins are stored.
|
||||
repositories {
|
||||
mavenLocal()
|
||||
gradlePluginPortal()
|
||||
mavenCentral {
|
||||
content {
|
||||
includeGroupByRegex 'net\\.corda(\\..*)?'
|
||||
}
|
||||
}
|
||||
// R3 internal repositories
|
||||
maven {
|
||||
url "${artifactoryContextUrl}/corda-dev"
|
||||
content {
|
||||
includeGroupByRegex 'net\\.corda\\.plugins(\\..*)?'
|
||||
}
|
||||
}
|
||||
maven {
|
||||
url = "$artifactoryContextUrl/corda-os-maven-unstable"
|
||||
credentials {
|
||||
username = settings.ext.find('cordaArtifactoryUsername') ?: System.getenv('CORDA_ARTIFACTORY_USERNAME')
|
||||
password = settings.ext.find('cordaArtifactoryPassword') ?: System.getenv('CORDA_ARTIFACTORY_PASSWORD')
|
||||
}
|
||||
}
|
||||
maven {
|
||||
url = "$artifactoryContextUrl/corda-os-maven-unstable-local"
|
||||
credentials {
|
||||
username = settings.ext.find('cordaArtifactoryUsername') ?: System.getenv('CORDA_ARTIFACTORY_USERNAME')
|
||||
password = settings.ext.find('cordaArtifactoryPassword') ?: System.getenv('CORDA_ARTIFACTORY_PASSWORD')
|
||||
}
|
||||
}
|
||||
maven {
|
||||
url = "$artifactoryContextUrl/corda-dev"
|
||||
credentials {
|
||||
username = settings.ext.find('cordaArtifactoryUsername') ?: System.getenv('CORDA_ARTIFACTORY_USERNAME')
|
||||
password = settings.ext.find('cordaArtifactoryPassword') ?: System.getenv('CORDA_ARTIFACTORY_PASSWORD')
|
||||
}
|
||||
url = "$artifactoryContextUrl/"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,17 +26,17 @@ public class MyFirstFlow implements RPCStartableFlow {
|
||||
|
||||
// JsonMarshallingService provides a Service for manipulating json
|
||||
@CordaInject
|
||||
JsonMarshallingService jsonMarshallingService;
|
||||
public JsonMarshallingService jsonMarshallingService;
|
||||
|
||||
// FlowMessaging provides a service for establishing flow sessions between Virtual Nodes and
|
||||
// sending and receiving payloads between them
|
||||
@CordaInject
|
||||
FlowMessaging flowMessaging;
|
||||
public FlowMessaging flowMessaging;
|
||||
|
||||
// MemberLookup provides a service for looking up information about members of the Virtual Network which
|
||||
// this CorDapp is operating in.
|
||||
@CordaInject
|
||||
MemberLookup memberLookup;
|
||||
public MemberLookup memberLookup;
|
||||
|
||||
public MyFirstFlow() {}
|
||||
|
||||
|
@ -23,7 +23,7 @@ public class MyFirstFlowResponder implements ResponderFlow {
|
||||
// MemberLookup provides a service for looking up information about members of the Virtual Network which
|
||||
// this CorDapp is operating in.
|
||||
@CordaInject
|
||||
MemberLookup memberLookup;
|
||||
public MemberLookup memberLookup;
|
||||
|
||||
public MyFirstFlowResponder() {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user