-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
41 lines (36 loc) · 879 Bytes
/
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
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'kotlin'
mainClassName = 'app.Runner'
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'com.github.kittinunf.fuel:fuel:2.2.1' // for http requests
implementation 'com.google.code.gson:gson:2.8.6' // needed for gson
implementation 'com.google.code.gson:gson:2.8.6' // for json serialization and deserialization
}
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
run{
standardInput = System.in
}