Skip to content

Commit f3d6858

Browse files
committed
[2.0.0-SNAPSHOT]
Package refactoring API refactoring Contracts renamed LogQuery refactored EtherScanAPI refactored & builder added
1 parent a039cff commit f3d6858

File tree

158 files changed

+2083
-1854
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+2083
-1854
lines changed

Diff for: .github/workflows/gradle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
java: [ '11' ]
17+
java: [ '11', '17' ]
1818
name: Java ${{ matrix.java }} setup
1919

2020
steps:

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Java EtherScan API
22

3+
[![Minimum required Java version](https://img.shields.io/badge/Java-1.8%2B-blue?logo=openjdk)](https://openjdk.org/projects/jdk8/)
34
[![GitHub Action](https://github.com/goodforgod/java-etherscan-api/workflows/Java%20CI/badge.svg)](https://github.com/GoodforGod/java-etherscan-api/actions?query=workflow%3A%22Java+CI%22)
45
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=GoodforGod_java-etherscan-api&metric=coverage)](https://sonarcloud.io/dashboard?id=GoodforGod_java-etherscan-api)
56
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=GoodforGod_java-etherscan-api&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=GoodforGod_java-etherscan-api)
@@ -14,15 +15,15 @@ Library supports all available EtherScan *API* calls for all available *Ethereum
1415

1516
**Gradle**
1617
```groovy
17-
implementation "com.github.goodforgod:java-etherscan-api:1.3.1"
18+
implementation "com.github.goodforgod:java-etherscan-api:2.0.0-SNAPSHOT"
1819
```
1920

2021
**Maven**
2122
```xml
2223
<dependency>
2324
<groupId>com.github.goodforgod</groupId>
2425
<artifactId>java-etherscan-api</artifactId>
25-
<version>1.3.1</version>
26+
<version>2.0.0-SNAPSHOT</version>
2627
</dependency>
2728
```
2829

Diff for: build.gradle

+6-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
id "maven-publish"
55

66
id "org.sonarqube" version "3.3"
7-
id "com.diffplug.spotless" version "6.1.0"
7+
id "com.diffplug.spotless" version "6.12.0"
88
}
99

1010
repositories {
@@ -19,13 +19,12 @@ sourceCompatibility = JavaVersion.VERSION_1_8
1919
targetCompatibility = JavaVersion.VERSION_1_8
2020

2121
dependencies {
22-
implementation "org.jetbrains:annotations:23.0.0"
23-
implementation "com.google.code.gson:gson:2.9.0"
24-
implementation "io.goodforgod:gson-configuration:1.4.1"
22+
compileOnly "org.jetbrains:annotations:23.0.0"
23+
implementation "io.goodforgod:gson-configuration:2.0.0"
2524

26-
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.2"
27-
testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.2"
28-
testImplementation "org.junit.jupiter:junit-jupiter-params:5.8.2"
25+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.3"
26+
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.3"
27+
testImplementation "org.junit.jupiter:junit-jupiter-params:5.9.3"
2928
}
3029

3130
test {

Diff for: gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

Diff for: src/main/java/io/api/etherscan/core/IBlockApi.java

-25
This file was deleted.

Diff for: src/main/java/io/api/etherscan/core/IContractApi.java

-24
This file was deleted.

Diff for: src/main/java/io/api/etherscan/core/ILogsApi.java

-27
This file was deleted.

Diff for: src/main/java/io/api/etherscan/core/IStatisticApi.java

-44
This file was deleted.

Diff for: src/main/java/io/api/etherscan/core/impl/BasicProvider.java

-99
This file was deleted.

Diff for: src/main/java/io/api/etherscan/core/impl/ContractApiProvider.java

-46
This file was deleted.

0 commit comments

Comments
 (0)