- Notifications
You must be signed in to change notification settings - Fork43
Release 1.1.0#9
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
Changes fromall commits
Commits
Show all changes
18 commits Select commitHold shift + click to select a range
05bc020 Bump junit from 4.12 to 4.13.1
dependabot[bot]9ce8f07 Merge pull request #7 from GoodforGod/dependabot/maven/junit-junit-4.…
GoodforGod670ce91 Method to get an event time stamp as milliseconds since the Unix epoc…
iSnow4a570d2 Method to get an event time stamp as milliseconds since the Unix epoc…
iSnowc1e995f Method to get all events without a topic filter
iSnow1e03995 Higher-level API to read well-known ETH events as polymorphic classes
iSnowd7ab7ec Added better handling of communication errors
iSnow01b31ff Removed events stuff again, moved to different library
iSnow5729da7 Removed events stuff again, moved to different library
iSnowa4e4b09 Added support for rate limiting by Etherscan: throw RateLimitException
iSnow33b519f [1.1.0-SNAPSHOT]
GoodforGod664cb72 [1.1.0-SNAPSHOT]
GoodforGod268e5e9 [1.1.0-SNAPSHOT]
GoodforGodbb83e21 [1.1.0-SNAPSHOT]
GoodforGode74930b [1.1.0-SNAPSHOT]
GoodforGod93e6b02 [1.1.0-SNAPSHOT]
GoodforGodaf94534 [1.1.0-SNAPSHOT]
GoodforGodea512d1 [1.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
21 changes: 21 additions & 0 deletions.editorconfig
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,21 @@ | ||
| # EditorConfig is awesome: http://EditorConfig.org | ||
| # top-most EditorConfig file | ||
| root = true | ||
| # all-encompassing default settings unless otherwise specified | ||
| [*] | ||
| end_of_line = lf | ||
| charset = utf-8 | ||
| # Yaml | ||
| [{*.yml, *.yaml}] | ||
| indent_size = 2 | ||
| indent_style = space | ||
| # Property files | ||
| [*.properties] | ||
| indent_size = 2 | ||
| indent_style = space | ||
41 changes: 41 additions & 0 deletions.gitattributes
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,41 @@ | ||
| # Handle line endings automatically for files detected as text | ||
| # and leave all files detected as binary untouched. | ||
| * text=auto | ||
| # | ||
| # The above will handle all files NOT found below | ||
| # | ||
| # These files are text and should be normalized (Convert crlf => lf) | ||
| *.bash text eol=lf | ||
| *.css text diff=css | ||
| *.df text | ||
| *.htm text diff=html | ||
| *.html text diff=html eol=lf | ||
| *.java text diff=java eol=lf | ||
| *.js text | ||
| *.json text eol=lf | ||
| *.jsp text eol=lf | ||
| *.jspf text eol=lf | ||
| *.jspx text eol=lf | ||
| *.properties text eol=lf | ||
| *.sh text eol=lf | ||
| *.tld text | ||
| *.txt text eol=lf | ||
| *.tag text | ||
| *.tagx text | ||
| *.xml text | ||
| *.yml text eol=lf | ||
| # These files are binary and should be left untouched | ||
| # (binary is a macro for -text -diff) | ||
| *.class binary | ||
| *.dll binary | ||
| *.ear binary | ||
| *.gif binary | ||
| *.ico binary | ||
| *.jar binary | ||
| *.jpg binary | ||
| *.jpeg binary | ||
| *.png binary | ||
| *.so binary | ||
| *.war binary |
37 changes: 37 additions & 0 deletions.github/workflows/gradle.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,37 @@ | ||
| name: Java CI | ||
| on: | ||
| schedule: | ||
| - cron: "0 12 1 * *" | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| - dev | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| java: [ '11' ] | ||
| name: Java ${{ matrix.java }} setup | ||
| steps: | ||
| - uses: actions/checkout@v1 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v1 | ||
| with: | ||
| java-version: ${{ matrix.java }} | ||
| - name: Build with Gradle | ||
| run: ./gradlew build jacocoTestReport | ||
| env: | ||
| API_KEY: ${{ secrets.API_KEY }} | ||
| - name: Analyze with SonarQube | ||
| run: ./gradlew sonarqube | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
| API_KEY: ${{ secrets.API_KEY }} |
7 changes: 6 additions & 1 deletion.gitignore
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,2 +1,7 @@ | ||
| /.settings/ | ||
| .idea | ||
| .idea/httpRequests | ||
| *.iml | ||
| .gradle | ||
| build | ||
| target/ |
14 changes: 0 additions & 14 deletions.travis.yml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
8 changes: 3 additions & 5 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
135 changes: 135 additions & 0 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| plugins { | ||
| id 'jacoco' | ||
| id 'java-library' | ||
| id 'maven-publish' | ||
| id 'org.sonarqube' version '3.0' | ||
| id 'com.diffplug.gradle.spotless' version '4.4.0' | ||
| } | ||
| repositories { | ||
| mavenLocal() | ||
| mavenCentral() | ||
| jcenter() | ||
| } | ||
| group = groupId | ||
| version = artifactVersion | ||
| sourceCompatibility = 1.8 | ||
| targetCompatibility = 1.8 | ||
| spotless { | ||
| java { | ||
| encoding 'UTF-8' | ||
| removeUnusedImports() | ||
| eclipse().configFile "${projectDir}/config/codestyle.xml" | ||
| } | ||
| } | ||
| sonarqube { | ||
| properties { | ||
| property 'sonar.host.url', 'https://sonarcloud.io' | ||
| property 'sonar.organization', 'goodforgod' | ||
| property 'sonar.projectKey', 'GoodforGod_java-etherscan-api' | ||
| } | ||
| } | ||
| dependencies { | ||
| implementation 'org.jetbrains:annotations:20.1.0' | ||
| implementation 'com.google.code.gson:gson:2.8.6' | ||
| testImplementation 'junit:junit:4.13.1' | ||
| } | ||
| test { | ||
| failFast = true | ||
| useJUnit() | ||
| testLogging { | ||
| events "passed", "skipped", "failed" | ||
| exceptionFormat "full" | ||
| } | ||
| } | ||
| tasks.withType(JavaCompile) { | ||
| options.encoding = 'UTF-8' | ||
| options.incremental = true | ||
| options.fork = true | ||
| } | ||
| tasks.withType(Test) { | ||
| reports.html.enabled = false | ||
| reports.junitXml.enabled = false | ||
| } | ||
| java { | ||
| withJavadocJar() | ||
| withSourcesJar() | ||
| } | ||
| publishing { | ||
| publications { | ||
| mavenJava(MavenPublication) { | ||
| from components.java | ||
| pom { | ||
| name = 'Java Etherscan API' | ||
| url = 'https://github.com/GoodforGod/java-etherscan-api' | ||
| description = 'Library is a wrapper for EtherScan API.' | ||
| license { | ||
| name = 'MIT License' | ||
| url = 'https://github.com/GoodforGod/java-etherscan-api/blob/master/LICENSE' | ||
| distribution = 'repo' | ||
| } | ||
| developer { | ||
| id = 'GoodforGod' | ||
| name = 'Anton Kurako' | ||
| email = 'goodforgod.dev@gmail.com' | ||
| url = 'https://github.com/GoodforGod' | ||
| } | ||
| scm { | ||
| connection = 'scm:git:git://github.com/GoodforGod/java-etherscan-api.git' | ||
| developerConnection = 'scm:git:ssh://GoodforGod/java-etherscan-api.git' | ||
| url = 'https://github.com/GoodforGod/java-etherscan-api/tree/master' | ||
| } | ||
| } | ||
| } | ||
| } | ||
| repositories { | ||
| maven { | ||
| def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2" | ||
| def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" | ||
| url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl | ||
| credentials { | ||
| username System.getenv("OSS_USERNAME") | ||
| password System.getenv("OSS_PASSWORD") | ||
| } | ||
| } | ||
| } | ||
| } | ||
| check.dependsOn jacocoTestReport | ||
| jacocoTestReport { | ||
| reports { | ||
| xml.enabled true | ||
| html.destination file("${buildDir}/jacocoHtml") | ||
| } | ||
| } | ||
| if (project.hasProperty("signing.keyId")) { | ||
| apply plugin: 'signing' | ||
| signing { | ||
| sign publishing.publications.mavenJava | ||
| } | ||
| } | ||
| javadoc { | ||
| options.encoding = "UTF-8" | ||
| if (JavaVersion.current().isJava9Compatible()) { | ||
| options.addBooleanOption('html5', true) | ||
| } | ||
| } |
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.