-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
executable file
·92 lines (82 loc) · 3.37 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
buildscript {
repositories {
jcenter()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("com.github.jengelman.gradle.plugins:shadow:4.0.3")
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: "com.github.johnrengelman.shadow"
group 'net.opens3'
version '0.0.1'
mainClassName = "io.ktor.server.netty.EngineMain"
sourceSets {
main.kotlin.srcDirs = main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
repositories {
mavenLocal()
jcenter()
maven { url 'https://kotlin.bintray.com/ktor' }
maven { url 'https://kotlin.bintray.com/kotlin-js-wrappers' }
maven { url 'https://kotlin.bintray.com/kotlinx' }
maven { url 'https://jitpack.io' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "ch.qos.logback:logback-classic:$logback_version"
compile "io.ktor:ktor-server-core:$ktor_version"
compile "io.ktor:ktor-server-host-common:$ktor_version"
compile "io.ktor:ktor-metrics:$ktor_version"
compile "io.ktor:ktor-gson:$ktor_version"
compile "io.ktor:ktor-client-core:$ktor_version"
compile "io.ktor:ktor-client-core-jvm:$ktor_version"
compile "io.ktor:ktor-client-json-jvm:$ktor_version"
compile "io.ktor:ktor-client-gson:$ktor_version"
testCompile "io.ktor:ktor-server-tests:$ktor_version"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "ch.qos.logback:logback-classic:$logback_version"
compile "io.ktor:ktor-server-core:$ktor_version"
compile "io.ktor:ktor-html-builder:$ktor_version"
compile "org.jetbrains:kotlin-css-jvm:1.0.0-pre.31-kotlin-1.2.41"
compile "io.ktor:ktor-server-host-common:$ktor_version"
compile "io.ktor:ktor-gson:$ktor_version"
testCompile "io.ktor:ktor-server-tests:$ktor_version"
compile 'redis.clients:jedis:3.0.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "ch.qos.logback:logback-classic:$logback_version"
compile "io.ktor:ktor-server-core:$ktor_version"
compile "io.ktor:ktor-html-builder:$ktor_version"
compile "org.jetbrains:kotlin-css-jvm:1.0.0-pre.31-kotlin-1.2.41"
compile "io.ktor:ktor-server-host-common:$ktor_version"
compile "io.ktor:ktor-gson:$ktor_version"
compile "io.ktor:ktor-client-core:$ktor_version"
compile "io.ktor:ktor-client-core-jvm:$ktor_version"
compile "io.ktor:ktor-client-apache:$ktor_version"
compile "io.ktor:ktor-client-json-jvm:$ktor_version"
compile "io.ktor:ktor-client-gson:$ktor_version"
compile 'mysql:mysql-connector-java:5.1.39'
compile 'org.jetbrains.exposed:exposed:0.11.2'
compile 'org.apache.httpcomponents:httpclient:4.5.6'
compile 'org.apache.commons:commons-lang3:3.8.1'
compile files("/home/undef/Workspace/src/weatherbot")
compile "io.ktor:ktor-auth:$ktor_version"
compile "com.github.jengelman.gradle.plugins:shadow:4.0.3"
compile 'org.json:json:20160212'
compile 'khttp:khttp:0.1.0'
compile "io.ktor:ktor-metrics:$ktor_version"
}
shadowJar {
manifest {
attributes 'Main-Class': mainClassName
}
}