forked from ethereum-lists/tokens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (39 loc) · 1.1 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
buildscript {
ext {
KOTLIN_VERSION = "1.2.41"
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN_VERSION}"
}
}
apply plugin: "kotlin"
apply plugin: 'application'
mainClassName = "org.ethereum.lists.tokens.MainKt"
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
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:0.1"
compile "com.github.walleth.kethereum:erc55:0.38"
compile 'com.beust:klaxon:0.30'
}