-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (59 loc) · 1.87 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
67
68
69
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
}
}
group 'info.eroto'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'application'
mainClassName = 'xyz.eroto.bot.MainKt'
repositories {
mavenCentral()
jcenter()
maven {
url = "https://dl.bintray.com/kotlin/exposed"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.5'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.22.5'
compile 'org.jetbrains.exposed:exposed:0.10.1'
compile 'org.slf4j:slf4j-api:1.8.0-beta1'
compile 'org.slf4j:slf4j-simple:1.8.0-beta1'
compile 'org.reflections:reflections:0.9.11'
compile 'org.postgresql:postgresql:42.2.2'
compile 'org.json:json:20180130'
compile 'net.dv8tion:JDA:3.5.1_350'
compile 'net.sf.trove4j:trove4j:3.0.3'
compile 'com.github.mfornos:humanize:1.2.2'
compile 'com.github.mfornos:humanize-slim:1.2.2'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.0'
compile 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.0'
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.0'
compile 'com.squareup.okhttp3:okhttp:3.10.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
shadowJar {
archiveName = 'Eroto.jar'
}
jar.enabled = false
shadowDistTar.enabled = false
shadowDistZip.enabled = false
distTar.enabled = false
distZip.enabled = false