Skip to content

Commit

Permalink
Bump version to 0.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sink772 committed Nov 2, 2021
1 parent 5e3de77 commit 5f8c2a2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'foundation.icon:gradle-javaee-plugin:0.7.8'
classpath 'foundation.icon:gradle-javaee-plugin:0.7.9'
}
}
Expand Down Expand Up @@ -51,7 +51,7 @@ deployJar {
endpoints {
local {
uri = 'http://localhost:9082/api/v3'
nid = 3
nid = 0x3
}
}
keystore = './mykey.json'
Expand All @@ -64,6 +64,24 @@ deployJar {

The above extension creates `deployToLocal` task automatically based on the container name of the given endpoints property.

#### Deployment for update

Starting from version `0.7.9`, you can specify `to` address to update an already deployed contract.
`to` property is optional, thus omitting this is regarded as deploying a new contract.

```groovy
deployJar {
endpoints {
local {
uri = 'http://localhost:9082/api/v3'
nid = 0x3
to = 'cxe3d5237f13530bce0b936df320c0308885d062e9'
}
}
...
}
```

## Examples

- [Java SCORE Examples](https://github.com/icon-project/java-score-examples)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GROUP=foundation.icon
VERSION=0.7.8
VERSION=0.7.9

0 comments on commit 5f8c2a2

Please sign in to comment.