Skip to content

Commit

Permalink
<build>(project): upgrade to 1.0.0 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyonRay authored Sep 10, 2024
1 parent df23f0c commit a2fc2eb
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 33 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
env:
CCACHE_DIR: ${{ github.workspace }}/ccache
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build:
Expand All @@ -29,22 +30,4 @@ jobs:
run: ./gradlew.bat build
- name: run integration testing
if: runner.os != 'Windows'
run: /bin/bash .ci/ci_check.sh

build-centos:
name: build-centos
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
container: docker.io/centos:7
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- name: install CentOS dependencies
run: yum install -y epel-release centos-release-scl which git openssl-devel openssl java java-devel
- name: run integration testing
run: /bin/bash .ci/ci_check.sh
68 changes: 54 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,56 +23,96 @@
- `Gradle`
```shell
# 0.4.25 版本
compile group: 'org.fisco-bcos', name: 'solcJ', version: '0.4.25.0'
compile group: 'org.fisco-bcos', name: 'solcJ-0.4.25', version: '1.0.0'

# 0.5.2 版本
compile group: 'org.fisco-bcos', name: 'solcJ', version: '0.5.2.0'
compile group: 'org.fisco-bcos', name: 'solcJ-0.5.2', version: '1.0.0'

# 0.6.10 版本
compile group: 'org.fisco-bcos', name: 'solcJ', version: '0.6.10.0'
compile group: 'org.fisco-bcos', name: 'solcJ-0.6.10', version: '1.0.0'

# 0.8.11 版本
compile group: 'org.fisco-bcos', name: 'solcJ', version: '0.8.11.0'
compile group: 'org.fisco-bcos', name: 'solcJ-0.8.11', version: '1.0.0'

# 0.8.26 版本
compile group 'org.fisco-bcos', name: 'solcJ', version: '0.8.26.0'
compile group 'org.fisco-bcos', name: 'solcJ-0.8.26', version: '1.0.0'

# Linux专属版本,支持所有solidity版本
compile group 'org.fisco-bcos', name: 'solcJ-linux', version: '1.0.0'

# macOS专属版本,支持所有solidity版本
compile group 'org.fisco-bcos', name: 'solcJ-mac', version: '1.0.0'

# Windows专属版本,支持所有solidity版本
compile group 'org.fisco-bcos', name: 'solcJ-win', version: '1.0.0'

# 所有系统架构通用版本,支持所有solidity版本
compile group 'org.fisco-bcos', name: 'solcJ', version: '1.0.0'
```

- `Maven`
```shell
# 0.4.25 版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ</artifactId>
<version>0.4.25.0</version>
<artifactId>solcJ-0.4.25</artifactId>
<version>1.0.0</version>
</dependency>
# 0.5.2 版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ</artifactId>
<version>0.5.2.0</version>
<artifactId>solcJ-0.5.2</artifactId>
<version>1.0.0</version>
</dependency>
# 0.6.10 版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ</artifactId>
<version>0.6.10.0</version>
<artifactId>solcJ-0.6.10</artifactId>
<version>1.0.0</version>
</dependency>
#0.8.11 版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ</artifactId>
<version>0.8.11.0</version>
<artifactId>solcJ-0.8.11</artifactId>
<version>1.0.0</version>
</dependency>
#0.8.26 版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ-0.8.26</artifactId>
<version>1.0.0</version>
</dependency>
# Linux专属版本,支持所有solidity版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ-linux</artifactId>
<version>1.0.0</version>
</dependency>
# macOS专属版本,支持所有solidity版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ-mac</artifactId>
<version>1.0.0</version>
</dependency>
# Windows专属版本,支持所有solidity版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ-win</artifactId>
<version>1.0.0</version>
</dependency>
# 所有系统架构通用版本,支持所有solidity版本
<dependency>
<groupId>org.fisco-bcos</groupId>
<artifactId>solcJ</artifactId>
<version>0.8.26.0</version>
<version>1.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {

archivesBaseName = 'solcJ'
group = 'org.fisco-bcos'
version = '1.0.0-SNAPSHOT'
version = '1.0.0'

// Additional attribute definition
ext {
Expand Down

0 comments on commit a2fc2eb

Please sign in to comment.