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

β€Ž.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
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:

β€ŽREADME.md

Lines changed: 3 additions & 2 deletions
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

β€Žbuild.gradle

Lines changed: 6 additions & 7 deletions
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 {
Lines changed: 1 addition & 1 deletion
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

β€Žsrc/main/java/io/api/etherscan/core/IBlockApi.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

β€Žsrc/main/java/io/api/etherscan/core/IContractApi.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

β€Žsrc/main/java/io/api/etherscan/core/ILogsApi.java

Lines changed: 0 additions & 27 deletions
This file was deleted.

β€Žsrc/main/java/io/api/etherscan/core/IStatisticApi.java

Lines changed: 0 additions & 44 deletions
This file was deleted.

β€Žsrc/main/java/io/api/etherscan/core/impl/BasicProvider.java

Lines changed: 0 additions & 99 deletions
This file was deleted.

β€Žsrc/main/java/io/api/etherscan/core/impl/ContractApiProvider.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
Β (0)