Skip to content

Commit dca494d

Browse files
committed
add fixes
Signed-off-by: gtebrean <[email protected]>
1 parent 3e335cc commit dca494d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
1212
### Features
1313

1414
* Updated web3j to latest version 4.12.0 [#111](https://github.com/hyperledger/web3j-cli/pull/111)
15+
* Add generateBoth flag [#114](https://github.com/hyperledger/web3j-cli/pull/114)
1516

1617
### BREAKING CHANGES
1718

build.gradle

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ plugins {
1111
id "de.undercouch.download" version "4.1.2"
1212
id "de.marcphilipp.nexus-publish" version "0.4.0"
1313
id 'io.codearte.nexus-staging' version '0.30.0'
14+
// TODO decide if kept or not
15+
// id "com.jfrog.bintray" version "1.8.4"
1416
}
1517

1618
description 'Web3j command line tools'
@@ -33,6 +35,8 @@ ext {
3335
semverVersion = '0.10.2'
3436
commonsLangVersion = '3.14.0'
3537
jansiVersion = '2.4.1'
38+
kotlinPoetVersion = '1.18.1'
39+
javaPoetVersion = '1.13.0'
3640
}
3741

3842

@@ -57,7 +61,6 @@ apply {
5761
}
5862

5963
repositories {
60-
jcenter()
6164
mavenCentral()
6265
mavenLocal()
6366
maven { url "https://dl.bintray.com/ethereum/maven/" }
@@ -90,6 +93,8 @@ dependencies {
9093
"org.web3j:hosted-providers:$web3jVersion",
9194
"io.epirus:epirus-web3j:$web3jEpirusVersion",
9295
"info.picocli:picocli:$picocli",
96+
"com.squareup:kotlinpoet:$kotlinPoetVersion",
97+
"com.squareup:javapoet:$javaPoetVersion",
9398
files('libs/smartcheck.jar'),
9499
"com.google.code.gson:gson:$gsonVersion",
95100
"org.apache.commons:commons-lang3:$commonsLangVersion",

src/main/java/org/web3j/console/wrapper/subcommand/SolidityGenerateCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
import java.io.File;
1616

17-
import org.web3j.tx.Contract;
1817
import picocli.CommandLine.Command;
1918
import picocli.CommandLine.Option;
2019

2120
import org.web3j.abi.datatypes.Address;
2221
import org.web3j.codegen.Console;
2322
import org.web3j.codegen.SolidityFunctionWrapperGenerator;
2423
import org.web3j.console.Web3jVersionProvider;
24+
import org.web3j.tx.Contract;
2525

2626
import static org.web3j.codegen.Console.exitError;
2727
import static picocli.CommandLine.Help.Visibility.ALWAYS;

0 commit comments

Comments
 (0)