This repository has been archived by the owner on Jun 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (59 loc) · 1.86 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
70
group 'moe.kyubey'
version '1.0-SNAPSHOT'
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.1'
}
}
apply plugin: 'kotlin'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'application'
mainClassName = 'moe.kyubey.site.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.21'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.21'
compile 'azadev.kotlin:aza-kotlin-css:1.0'
compile 'org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.8'
compile 'io.javalin:javalin:1.3.0'
compile 'com.squareup.okhttp3:okhttp:3.10.0'
compile 'org.slf4j:slf4j-api:1.8.0-alpha2'
compile 'org.slf4j:slf4j-simple:1.8.0-alpha2'
compile 'org.jetbrains.exposed:exposed:0.9.1'
compile 'org.postgresql:postgresql:42.1.4'
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 'org.json:json:20171018'
compile 'com.atlassian.commonmark:commonmark:0.11.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
kotlin {
experimental {
coroutines 'enable'
}
}
shadowJar {
archiveName = 'KyubeySite.jar'
}
distTar.enabled = false
distZip.enabled = false
shadowDistZip.enabled = false
shadowDistTar.enabled = false