Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: icon cluster connection #386

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
55 changes: 55 additions & 0 deletions contracts/javascore/cluster-connection/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version = '0.1.0'

dependencies {
implementation project(':xcall-lib')

testImplementation 'org.bouncycastle:bcprov-jdk15on:1.70'
testImplementation 'foundation.icon:javaee-unittest:0.11.1'
testImplementation project(':test-lib')
}

test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}

optimizedJar {
dependsOn(project(':xcall-lib').jar)
mainClassName = 'xcall.adapter.cluster.ClusterConnection'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

deployJar {
endpoints {
berlin {
uri = 'https://berlin.net.solidwallet.io/api/v3'
nid = 0x7
}
lisbon {
uri = 'https://lisbon.net.solidwallet.io/api/v3'
nid = 0x2
}
local {
uri = 'http://localhost:9082/api/v3'
nid = 0x3
}
mainnet {
uri = 'https://ctz.solidwallet.io/api/v3'
nid = 0x1
}
uat {
uri = project.findProperty('uat.host') as String
nid = property('uat.nid') as Integer
to = "$mockDApp"?:null
}
}
keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName" : ''
password = rootProject.hasProperty('keystorePass') ? "$keystorePass" : ''
parameters {
arg('_relayer', "hxb6b5791be0b5ef67063b3c10b840fb81514db2fd")
arg('_xCall', "$xCall")
}
}
Loading
Loading