forked from ethereum-lists/tokens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (60 loc) · 2.33 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
buildscript {
ext {
KOTLIN_VERSION = "1.9.10"
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.49.0'
}
}
apply plugin: "kotlin"
apply plugin: "application"
apply plugin: "com.github.ben-manes.versions"
mainClassName = "org.ethereum.lists.tokens.MainKt"
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
task onChainCheck(type: JavaExec) {
mainClass = "org.ethereum.lists.tokens.OnChainCheckKt"
classpath = sourceSets.main.runtimeClasspath
if (project.hasProperty("fileToCheck")) {
args fileToCheck
}
}
task correctFileNames(type: JavaExec) {
mainClass = "org.ethereum.lists.tokens.CorrectFileNamesKt"
classpath = sourceSets.main.runtimeClasspath
}
task correctDecimals(type: JavaExec) {
mainClass = "org.ethereum.lists.tokens.CorrectDecimalsKt"
classpath = sourceSets.main.runtimeClasspath
}
task importMEW(type: JavaExec) {
mainClass = "org.ethereum.lists.tokens.ImportKt"
classpath = sourceSets.main.runtimeClasspath
if (project.hasProperty("importPath")) {
args importPath
}
}
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3"
implementation "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN_VERSION}"
implementation "com.github.komputing.kethereum:erc20:${KETHEREUM_VERSION}"
implementation "com.github.komputing.kethereum:erc55:${KETHEREUM_VERSION}"
implementation "com.github.komputing.kethereum:erc1191:${KETHEREUM_VERSION}"
implementation "com.github.komputing.kethereum:model:${KETHEREUM_VERSION}"
implementation "com.github.komputing.kethereum:rpc:${KETHEREUM_VERSION}"
implementation "com.github.komputing.kethereum:crypto_impl_bouncycastle:${KETHEREUM_VERSION}"
implementation "com.github.ethereum-lists.chains:httpsloader:1.6"
implementation "com.github.ethereum-lists.chains:model:1.6"
implementation "com.squareup.okhttp3:okhttp:4.12.0"
implementation 'com.beust:klaxon:5.6'
implementation 'com.squareup.moshi:moshi-kotlin:1.15.0'
testImplementation "org.jetbrains.kotlin:kotlin-test"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
}