File tree 16 files changed +107
-37
lines changed
java/org/web3j/console/project/utils
16 files changed +107
-37
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ mainClassName = 'org.web3j.console.Web3j'
19
19
applicationName = ' web3j'
20
20
21
21
ext {
22
- web3jVersion = ' 4.8 .4'
22
+ web3jVersion = ' 4.9 .4'
23
23
picocli = ' 4.6.0'
24
24
slf4jVersion = ' 1.7.30'
25
25
junitVersion = ' 5.8.2'
Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ public static Boolean isSmartContract(File file) {
167
167
*
168
168
* @param directory directory where to search for Solidity smart contracts
169
169
* @return List of contracts paths
170
+ * @throws IOException if path is not available
170
171
*/
171
172
public static List <Path > findSolidityContracts (Path directory ) throws IOException {
172
173
return Files .walk (directory )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
@@ -14,23 +14,32 @@ sourceCompatibility = 1.8
14
14
15
15
repositories {
16
16
mavenCentral()
17
- jcenter()
17
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
18
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
19
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
20
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
18
21
}
19
22
20
23
web3j {
21
24
generatedPackageName = '<package_name>.generated.contracts'
22
25
excludedContracts = ['Mortal']
23
26
}
24
27
28
+ node {
29
+ nodeProjectDir.set(file("$projectDir"))
30
+ }
31
+
25
32
ext {
26
- web3jVersion = '4.8 .4'
33
+ web3jVersion = '4.9 .4'
27
34
logbackVersion = '1.2.3'
35
+ klaxonVersion = '5.5'
28
36
}
29
37
30
38
dependencies {
31
39
implementation "org.web3j:core:$web3jVersion",
32
40
"ch.qos.logback:logback-core:$logbackVersion",
33
- "ch.qos.logback:logback-classic:$logbackVersion"
41
+ "ch.qos.logback:logback-classic:$logbackVersion",
42
+ "com.beust:klaxon:$klaxonVersion"
34
43
implementation "org.web3j:web3j-unit:$web3jVersion"
35
44
implementation "org.web3j:web3j-evm:$web3jVersion"
36
45
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id "org.web3j.openapi" version "4.8.3 "
2
+ id "org.web3j.openapi" version "4.9.4 "
3
3
}
4
4
5
5
group '<package_name>'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
@@ -21,15 +21,21 @@ web3j {
21
21
generatedPackageName = '<package_name>.generated.contracts'
22
22
}
23
23
24
+ node {
25
+ nodeProjectDir.set(file("$projectDir"))
26
+ }
27
+
24
28
ext {
25
- web3jVersion = '4.8 .4'
29
+ web3jVersion = '4.9 .4'
26
30
logbackVersion = '1.2.3'
31
+ klaxonVersion = '5.5'
27
32
}
28
33
29
34
dependencies {
30
35
implementation "org.web3j:core:$web3jVersion",
31
36
"ch.qos.logback:logback-core:$logbackVersion",
32
- "ch.qos.logback:logback-classic:$logbackVersion"
37
+ "ch.qos.logback:logback-classic:$logbackVersion",
38
+ "com.beust:klaxon:$klaxonVersion"
33
39
implementation "org.web3j:web3j-unit:$web3jVersion"
34
40
implementation "org.web3j:web3j-evm:$web3jVersion"
35
41
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
group '<package_name>'
@@ -13,22 +13,31 @@ sourceCompatibility = 11
13
13
14
14
repositories {
15
15
mavenCentral()
16
- jcenter()
16
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
17
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
18
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
19
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
17
20
}
18
21
19
22
web3j {
20
23
generatedPackageName = '<package_name>.generated.contracts'
21
24
}
22
25
26
+ node {
27
+ nodeProjectDir.set(file("$projectDir"))
28
+ }
29
+
23
30
ext {
24
- web3jVersion = '4.8 .4'
31
+ web3jVersion = '4.9 .4'
25
32
logbackVersion = '1.2.3'
33
+ klaxonVersion = '5.5'
26
34
}
27
35
28
36
dependencies {
29
37
implementation "org.web3j:core:$web3jVersion",
30
38
"ch.qos.logback:logback-core:$logbackVersion",
31
- "ch.qos.logback:logback-classic:$logbackVersion"
39
+ "ch.qos.logback:logback-classic:$logbackVersion",
40
+ "com.beust:klaxon:$klaxonVersion"
32
41
implementation "org.web3j:web3j-unit:$web3jVersion"
33
42
implementation "org.web3j:web3j-evm:$web3jVersion"
34
43
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id "org.web3j.openapi" version "4.8.3 "
2
+ id "org.web3j.openapi" version "4.9.4 "
3
3
}
4
4
5
5
group '<package_name>'
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id "org.web3j.openapi" version "4.8.3 "
2
+ id "org.web3j.openapi" version "4.9.4 "
3
3
id "com.github.johnrengelman.shadow" version "5.2.0"
4
4
}
5
5
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
group '<package_name>'
@@ -13,23 +13,32 @@ sourceCompatibility = 11
13
13
14
14
repositories {
15
15
mavenCentral()
16
- jcenter()
16
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
17
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
18
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
19
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
17
20
}
18
21
19
22
web3j {
20
23
generatedPackageName = '<package_name>.generated.contracts'
21
24
excludedContracts = ['Mortal']
22
25
}
23
26
27
+ node {
28
+ nodeProjectDir.set(file("$projectDir"))
29
+ }
30
+
24
31
ext {
25
- web3jVersion = '4.8 .4'
32
+ web3jVersion = '4.9 .4'
26
33
logbackVersion = '1.2.3'
34
+ klaxonVersion = '5.5'
27
35
}
28
36
29
37
dependencies {
30
38
implementation "org.web3j:core:$web3jVersion",
31
39
"ch.qos.logback:logback-core:$logbackVersion",
32
- "ch.qos.logback:logback-classic:$logbackVersion"
40
+ "ch.qos.logback:logback-classic:$logbackVersion",
41
+ "com.beust:klaxon:$klaxonVersion"
33
42
implementation("org.web3j:web3j-unit:$web3jVersion")
34
43
implementation("org.web3j:web3j-evm:$web3jVersion")
35
44
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id "org.web3j.openapi" version "4.8.3 "
2
+ id "org.web3j.openapi" version "4.9.4 "
3
3
}
4
4
5
5
group '<package_name>'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
group '<package_name>'
@@ -13,23 +13,32 @@ sourceCompatibility = 1.8
13
13
14
14
repositories {
15
15
mavenCentral()
16
- jcenter()
16
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
17
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
18
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
19
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
17
20
}
18
21
19
22
web3j {
20
23
generatedPackageName = '<package_name>.generated.contracts'
21
24
includedContracts = ['ERC20Token']
22
25
}
23
26
27
+ node {
28
+ nodeProjectDir.set(file("$projectDir"))
29
+ }
30
+
24
31
ext {
25
- web3jVersion = '4.8 .4'
32
+ web3jVersion = '4.9 .4'
26
33
logbackVersion = '1.2.3'
34
+ klaxonVersion = '5.5'
27
35
}
28
36
29
37
dependencies {
30
38
implementation "org.web3j:core:$web3jVersion",
31
39
"ch.qos.logback:logback-core:$logbackVersion",
32
- "ch.qos.logback:logback-classic:$logbackVersion"
40
+ "ch.qos.logback:logback-classic:$logbackVersion",
41
+ "com.beust:klaxon:$klaxonVersion"
33
42
implementation "org.web3j:web3j-unit:$web3jVersion"
34
43
implementation "org.web3j:web3j-evm:$web3jVersion"
35
44
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
group '<package_name>'
@@ -13,23 +13,32 @@ sourceCompatibility = 11
13
13
14
14
repositories {
15
15
mavenCentral()
16
- jcenter()
16
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
17
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
18
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
19
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
17
20
}
18
21
19
22
web3j {
20
23
generatedPackageName = '<package_name>.generated.contracts'
21
24
includedContracts = ['ERC20Token']
22
25
}
23
26
27
+ node {
28
+ nodeProjectDir.set(file("$projectDir"))
29
+ }
30
+
24
31
ext {
25
- web3jVersion = '4.8 .4'
32
+ web3jVersion = '4.9 .4'
26
33
logbackVersion = '1.2.3'
34
+ klaxonVersion = '5.5'
27
35
}
28
36
29
37
dependencies {
30
38
implementation "org.web3j:core:$web3jVersion",
31
39
"ch.qos.logback:logback-core:$logbackVersion",
32
- "ch.qos.logback:logback-classic:$logbackVersion"
40
+ "ch.qos.logback:logback-classic:$logbackVersion",
41
+ "com.beust:klaxon:$klaxonVersion"
33
42
implementation "org.web3j:web3j-unit:$web3jVersion"
34
43
implementation "org.web3j:web3j-evm:$web3jVersion"
35
44
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id "org.web3j.openapi" version "4.8.3 "
2
+ id "org.web3j.openapi" version "4.9.4 "
3
3
}
4
4
5
5
group '<package_name>'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
group '<package_name>'
@@ -13,23 +13,32 @@ sourceCompatibility = 1.8
13
13
14
14
repositories {
15
15
mavenCentral()
16
- jcenter()
16
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
17
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
18
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
19
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
17
20
}
18
21
19
22
web3j {
20
23
generatedPackageName = '<package_name>.generated.contracts'
21
24
includedContracts = ['ERC777Token']
22
25
}
23
26
27
+ node {
28
+ nodeProjectDir.set(file("$projectDir"))
29
+ }
30
+
24
31
ext {
25
- web3jVersion = '4.8 .4'
32
+ web3jVersion = '4.9 .4'
26
33
logbackVersion = '1.2.3'
34
+ klaxonVersion = '5.5'
27
35
}
28
36
29
37
dependencies {
30
38
implementation "org.web3j:core:$web3jVersion",
31
39
"ch.qos.logback:logback-core:$logbackVersion",
32
- "ch.qos.logback:logback-classic:$logbackVersion"
40
+ "ch.qos.logback:logback-classic:$logbackVersion",
41
+ "com.beust:klaxon:$klaxonVersion"
33
42
implementation "org.web3j:web3j-unit:$web3jVersion"
34
43
implementation "org.web3j:web3j-evm:$web3jVersion"
35
44
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
4
4
id 'application'
5
5
id "com.github.johnrengelman.shadow" version "5.2.0"
6
- id 'org.web3j' version '4.8 .4'
6
+ id 'org.web3j' version '4.9 .4'
7
7
}
8
8
9
9
group '<package_name>'
@@ -13,19 +13,28 @@ sourceCompatibility = 11
13
13
14
14
repositories {
15
15
mavenCentral()
16
- jcenter()
16
+ maven { url "https://hyperledger.jfrog.io/hyperledger/besu-maven" }
17
+ maven { url "https://artifacts.consensys.net/public/maven/maven/" }
18
+ maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
19
+ maven { url "https://dl.cloudsmith.io/public/consensys/quorum-mainnet-launcher/maven/"}
17
20
}
18
21
19
22
web3j {
20
23
generatedPackageName = '<package_name>.generated.contracts'
21
24
includedContracts = ['ERC777Token']
22
25
}
23
26
27
+ node {
28
+ nodeProjectDir.set(file("$projectDir"))
29
+ }
30
+
24
31
ext {
25
- web3jVersion = '4.8.4'
32
+ web3jVersion = '4.9.4'
33
+ klaxonVersion = '5.5'
26
34
}
27
35
28
36
dependencies {
37
+ implementation "com.beust:klaxon:$klaxonVersion"
29
38
implementation "org.web3j:web3j-unit:$web3jVersion"
30
39
implementation "org.web3j:web3j-evm:$web3jVersion"
31
40
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
You can’t perform that action at this time.
0 commit comments