Skip to content

Commit

Permalink
fix build.gradle for cpsCore and CPSTreasury to support devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpisreddevil committed Oct 23, 2024
1 parent e2f3340 commit 1d22f39
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 32 deletions.
26 changes: 10 additions & 16 deletions CPSCore/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '1.3.9'
version = '1.5.5'

dependencies {

Expand Down Expand Up @@ -35,31 +35,25 @@ deployJar {
lisbon {
uri = 'https://lisbon.net.solidwallet.io/api/v3'
nid = 0x2
to = 'cx8e21d3b7a70aeeaca45d4a70c31a6b959f5823bd'
}
local {
uri = 'http://localhost:9082/api/v3'
nid = 0x3
}
berlin {
uri = 'https://berlin.net.solidwallet.io/api/v3'
nid = 0x7
}
sejong {
uri = 'https://sejong.net.solidwallet.io/api/v3'
nid = 0x53
to = 'cx2b214d56805531b9c878c4d4ff0e53d961c60834'
to = "cx1a7a9bde78fe14e2aeea03966c6d7260575627f5"
}
mainnet {
uri = 'https://ctz.solidwallet.io/api/v3'
nid = 0x1
to = 'cx9f4ab72f854d3ccdc59aa6f2c3e2215dd62e879f'
}

devnet{
uri = "https://tt.net.solidwallet.io/api/v3"
nid = 0x3
to = "cx5100c8b221cc373939d8a720ecfbd90440c75ed3"
}
}
keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName" : ''
password = rootProject.hasProperty('keystorePass') ? "$keystorePass" : ''
parameters {
arg("applicationPeriod", "15")
arg("bondValue", "15")

}
}

Expand Down
23 changes: 7 additions & 16 deletions CPSTreasury/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '1.3.5'
version = '1.4'

dependencies {
// compileOnly 'foundation.icon:javaee-api:0.9.2'
Expand Down Expand Up @@ -31,31 +31,22 @@ deployJar {
lisbon {
uri = 'https://lisbon.net.solidwallet.io/api/v3'
nid = 0x2
to = 'cxabc97ed26cb147eeef55b1728102aea25af8f62f'
}
local {
uri = 'http://localhost:9082/api/v3'
nid = 0x3
}
sejong{
uri = 'https://sejong.net.solidwallet.io/api/v3'
nid = 0x53
to = 'cxb33f0187a22a41c3ecb05a9756af320e98badb7d'
}
berlin{
uri = 'https://berlin.net.solidwallet.io/api/v3'
nid = 0x7
to = 'cx3e2a9648e4365added55bfa6a84e515d99f1bb67'
to = "cxe2179d6409a4920ac6e6ee272d79a3bcfea969df"
}
mainnet {
uri = 'https://ctz.solidwallet.io/api/v3'
nid = 0x1
to = 'cxd965531d1cce5daad1d1d3ee1efb39ce68f442fc'
}
devnet{
uri = "https://tt.net.solidwallet.io/api/v3"
nid = 0x3
}
}
keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName" : ''
password = rootProject.hasProperty('keystorePass') ? "$keystorePass" : ''
parameters {
arg("cpsScore", "cx5100c8b221cc373939d8a720ecfbd90440c75ed3")
}
}

Expand Down

0 comments on commit 1d22f39

Please sign in to comment.