- Notifications
You must be signed in to change notification settings - Fork43
[2.1.0]#28
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
[2.1.0]#28
Changes fromall commits
Commits
Show all changes
12 commits Select commitHold shift + click to select a range
333cfe4 Contract creation API
Blackmorse234cce4 Formatting
Blackmorse64540b8 filtering out empty env
Blackmorse06464f8 Fix codestyle
Blackmorse3b1af9d Merge pull request #27 from Blackmorse/contract_creation
GoodforGod3a87ca8 [2.1.0-SNAPSHOT]
GoodforGod3405883 [2.1.0-SNAPSHOT]
GoodforGod40059f4 [2.1.0-SNAPSHOT]
GoodforGod519c26a [2.1.0-SNAPSHOT]
GoodforGodb6e9ba5 [2.1.0-SNAPSHOT]
GoodforGodc855695 [2.1.0-SNAPSHOT]
GoodforGod3a252b4 [2.1.0-SNAPSHOT]
GoodforGodFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
49 changes: 49 additions & 0 deletions.github/workflows/publish-release.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| name: CI Master | ||
| on: | ||
| release: | ||
| types: [ published ] | ||
| jobs: | ||
| publish-release: | ||
| runs-on: ubuntu-latest | ||
| name: Publish Release | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'adopt' | ||
| - name: Build | ||
| run: './gradlew classes' | ||
| - name: Test | ||
| run: './gradlew test jacocoTestReport' | ||
| env: | ||
| ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY_2 }} | ||
| - name: SonarQube | ||
| run: './gradlew sonar --info' | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
| - name: Publish Release to GitHub Packages | ||
| run: './gradlew publishMavenJavaPublicationToGitHubPackagesRepository' | ||
| env: | ||
| RELEASE_VERSION: ${{ github.ref_name }} | ||
| GITHUB_TOKEN: ${{ secrets.OSS_GITHUB_TOKEN }} | ||
| ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSS_SIGNING_KEY }} | ||
| ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSS_SIGNING_PASSWORD }} | ||
| - name: Publish Release to OSSRH | ||
| run: './gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository' | ||
| env: | ||
| RELEASE_VERSION: ${{ github.ref_name }} | ||
| OSS_USERNAME: ${{ secrets.OSS_USERNAME }} | ||
| OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }} | ||
| ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSS_SIGNING_KEY }} | ||
| ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSS_SIGNING_PASSWORD }} |
44 changes: 44 additions & 0 deletions.github/workflows/publish-snapshot.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| name: CI Dev | ||
| on: | ||
| push: | ||
| paths: | ||
| - '**/workflows/*.yml' | ||
| - '**/java/**' | ||
| - '*.java' | ||
| - '*.gradle' | ||
| - '*.properties' | ||
| branches: | ||
| - dev | ||
| jobs: | ||
| publish-snapshot: | ||
| runs-on: ubuntu-latest | ||
| name: Publish Snapshot | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'adopt' | ||
| - name: Code Style | ||
| run: './gradlew spotlessCheck' | ||
| - name: Build | ||
| run: './gradlew classes' | ||
| - name: Test | ||
| run: './gradlew test jacocoTestReport' | ||
| env: | ||
| ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY_2 }} | ||
| - name: Publish Snapshot | ||
| run: './gradlew publish' | ||
| env: | ||
| OSS_USERNAME: ${{ secrets.OSS_USERNAME }} | ||
| OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }} | ||
| ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSS_SIGNING_KEY }} | ||
| ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSS_SIGNING_PASSWORD }} |
34 changes: 19 additions & 15 deletions.github/workflows/gradle.yml → .github/workflows/pull-request.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletionsCONTRIBUTING.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Contributing Code or Documentation Guide | ||
| ## Running Tests | ||
| The new code should contain tests that check new behavior. | ||
| Run tests `./gradlew test` to check that code works as behavior. | ||
| ## Code Style | ||
| The code base should remain clean, following industry best practices for organization, javadoc and style, as much as possible. | ||
| To run the Code Style check use `./gradlew spotlessCheck`. | ||
| If check found any errors, you can apply Code Style by running `./gradlew spotlessApply` | ||
| ## Creating a pull request | ||
| Once you are satisfied with your changes: | ||
| - Commit changes to the local branch you created. | ||
| - Push that branch with changes to the corresponding remote branch on GitHub | ||
| - Submit a [pull request](https://help.github.com/articles/creating-a-pull-request) to `dev` branch. |
7 changes: 4 additions & 3 deletionsREADME.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion_config.yml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
48 changes: 40 additions & 8 deletionsbuild.gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletiongradle.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| groupId=com.github.goodforgod | ||
| artifactId=java-etherscan-api | ||
| artifactVersion=2.1.0-SNAPSHOT | ||
| ##### GRADLE ##### | ||
Binary file modifiedgradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletiongradle/wrapper/gradle-wrapper.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
| networkTimeout=10000 | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.