forked from ethereum-lists/tokens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (49 loc) · 1.73 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
buildscript {
ext {
KOTLIN_VERSION = "1.3.50"
KETHEREUM_VERSION = "0.76.1"
}
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.25.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.kotlin:kotlin-stdlib:${KOTLIN_VERSION}"
compile "com.github.ethereum-lists:cilib:1.0"
compile "com.github.komputing.kethereum:erc55:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:model:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:functions:${KETHEREUM_VERSION}"
compile "com.github.komputing.kethereum:crypto_impl_bouncycastle:${KETHEREUM_VERSION}"
compile 'com.beust:klaxon:5.0.12'
compile 'com.squareup.moshi:moshi-kotlin:1.8.0'
testImplementation "org.jetbrains.kotlin:kotlin-test"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
}