-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathbuild.gradle
81 lines (62 loc) · 2.55 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
71
72
73
74
75
76
77
78
79
80
81
buildscript {
ext {
KOTLIN_VERSION = "1.9.20"
KETHEREUM_VERSION = "0.86.0"
}
repositories {
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.51.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 removeIgnoreListed(type: JavaExec) {
main = "org.ethereum.lists.methodsignatures.RemoveIgnoreListedKt"
classpath = sourceSets.main.runtimeClasspath
}
task detectPotentialBadSignatures(type: JavaExec) {
main = "org.ethereum.lists.methodsignatures.DetectPotentialBadSignaturesKt"
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.5"
implementation "com.github.walleth.kethereum:keccak_shortcut:${KETHEREUM_VERSION}"
implementation "com.squareup.moshi:moshi-kotlin:1.15.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.6'
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
}
apply from: 'https://raw.githubusercontent.com/ligi/gradle-common/master/versions_plugin_stable_only.gradle'