-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
56 lines (47 loc) · 1.74 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
group 'com.ceeredhat'
version '0.0.3'
mainClassName = "io.ktor.server.netty.EngineMain"
sourceSets {
main.kotlin.srcDirs = main.java.srcDirs = ['src']
test.kotlin.srcDirs = test.java.srcDirs = ['test']
main.resources.srcDirs = ['resources']
test.resources.srcDirs = ['testresources']
}
repositories {
mavenLocal()
jcenter()
maven { url 'https://kotlin.bintray.com/ktor' }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "io.ktor:ktor-server-netty:$ktor_version"
implementation "ch.qos.logback:logback-classic:$logback_version"
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-freemarker:$ktor_version"
implementation "io.ktor:ktor-jackson:$ktor_version"
testImplementation "io.ktor:ktor-server-tests:$ktor_version"
implementation "com.google.code.gson:gson:2.8.6"
implementation "io.ktor:ktor-html-builder:$ktor_version"
compile group: 'org.jetbrains.exposed', name: 'exposed', version: '0.11.2'
compile group: 'com.zaxxer', name: 'HikariCP', version: '2.7.4'
runtime group: 'org.postgresql', name: 'postgresql', version: '42.2.2'
implementation ("com.squareup.okhttp3:okhttp:4.9.0")
}
shadowJar {
manifest {
attributes 'Main-Class': 'io.ktor.server.netty.EngineMain'
}
}