-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
52 lines (46 loc) · 1.16 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
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'idea'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib"
compile "org.jetbrains.kotlin:kotlin-reflect"
compile "commons-io:commons-io:2.5"
compile "com.googlecode.lanterna:lanterna:3.0.0"
compile "com.google.code.gson:gson:2.8.2"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:+"
compile "org.java-websocket:Java-WebSocket:1.3.5"
compile "org.dmfs:httpurlconnection-executor:0.15.1"
compile "org.dmfs:oauth2-essentials:0.9+"
compile "org.dmfs:http-client-types:0.15.1"
compile files("lib/JHyperlink.jar")
}
sourceSets{
main.kotlin.srcDirs += 'src'
}
jar{
manifest{
attributes 'Main-Class': 'MainKt'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}