forked from ethereum-lists/tokens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (53 loc) · 2.02 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
buildscript {
ext {
KOTLIN_VERSION = "1.4.30"
KETHEREUM_VERSION = "0.83.4"
}
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.36.0'
}
}
apply plugin: "kotlin"
apply plugin: "application"
apply plugin: "com.github.ben-manes.versions"
mainClassName = "org.ethereum.lists.tokens.MainKt"
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url "https://kotlin.bintray.com/kotlinx" }
}
task correctFileNames(type: JavaExec) {
main = "org.ethereum.lists.tokens.CorrectFileNamesKt"
classpath = sourceSets.main.runtimeClasspath
}
task correctDecimals(type: JavaExec) {
main = "org.ethereum.lists.tokens.CorrectDecimalsKt"
classpath = sourceSets.main.runtimeClasspath
}
task importMEW(type: JavaExec) {
main = "org.ethereum.lists.tokens.ImportKt"
classpath = sourceSets.main.runtimeClasspath
if (project.hasProperty("importPath")) {
args importPath
}
}
dependencies {
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2-native-mt"
compile "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN_VERSION}"
compile "com.github.komputing.kethereum:erc20:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:erc55:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:erc1191:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:model:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:rpc:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:rpc_min3:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:crypto_impl_bouncycastle:${KETHEREUM_VERSION}"
"implementation"("com.squareup.okhttp3:okhttp:4.9.1")
compile 'com.beust:klaxon:5.4'
compile 'com.squareup.moshi:moshi-kotlin:1.8.0'
testImplementation "org.jetbrains.kotlin:kotlin-test"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
}