forked from ethereum-lists/4bytes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (54 loc) · 2.21 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
buildscript {
ext {
KOTLIN_VERSION = "1.6.0"
KETHEREUM_VERSION = "0.85.3"
}
repositories {
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.39.0'
}
}
apply plugin: "kotlin"
apply plugin: 'application'
mainClassName = "org.ethereum.lists.methodsignatures.CheckAndStatsKt"
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
task importFrom4ByteDirectory(type: JavaExec) {
main = "org.ethereum.lists.methodsignatures.ImportOnline4ByteDirectoryKt"
classpath = sourceSets.main.runtimeClasspath
}
task importFromEveem(type: JavaExec) {
main = "org.ethereum.lists.methodsignatures.ImportFromEveemKt"
classpath = sourceSets.main.runtimeClasspath
}
task coverage(type: JavaExec) {
main = "org.ethereum.lists.methodsignatures.CoverageKt"
classpath = sourceSets.main.runtimeClasspath
}
task importFromSolidityDirectory(type: JavaExec) {
main = "org.ethereum.lists.methodsignatures.ImportSolidityDirectoryKt"
classpath = sourceSets.main.runtimeClasspath
if (project.hasProperty("importPath")) {
args importPath
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN_VERSION}"
implementation "com.github.walleth:khex:1.1.2"
implementation "com.github.walleth.kethereum:keccak_shortcut:${KETHEREUM_VERSION}"
implementation "com.squareup.moshi:moshi-kotlin:1.12.0"
implementation "com.github.walleth.kethereum:metadata_model:${KETHEREUM_VERSION}"
implementation "com.github.walleth.kethereum:abi_filter:${KETHEREUM_VERSION}"
implementation "com.github.walleth.kethereum:keccak_shortcut:${KETHEREUM_VERSION}"
implementation "com.github.walleth.kethereum:method_signatures:${KETHEREUM_VERSION}"
implementation "com.github.walleth.kethereum:abi:${KETHEREUM_VERSION}"
implementation "com.github.walleth.kethereum:types:${KETHEREUM_VERSION}"
implementation 'com.beust:klaxon:5.5'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
}
apply from: 'https://raw.githubusercontent.com/ligi/gradle-common/master/versions_plugin_stable_only.gradle'