-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
69 lines (56 loc) · 2.16 KB
/
build.gradle.kts
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
val ktorVersion: String by project
val kotlinVersion: String by project
val logbackVersion: String by project
val koinVersion: String by project
val exposedVersion: String by project
val hikariVersion: String by project
val postgresVersion: String by project
val bcryptVersion: String by project
val firebaseAdminVersion: String by project
val commonsEmailVersion: String by project
val kotestVersion: String by project
val testContainerVersion: String by project
plugins {
application
kotlin("jvm") version "1.6.10"
id("org.jetbrains.kotlin.plugin.serialization") version "1.6.10"
}
group = "dev.zlagi"
version = "0.0.1"
application {
mainClass.set("io.ktor.server.netty.EngineMain")
}
repositories {
mavenCentral()
}
tasks.create("stage") {
dependsOn("installDist")
}
dependencies {
implementation("io.ktor:ktor-server-core:$ktorVersion")
implementation("io.ktor:ktor-auth:$ktorVersion")
implementation("io.ktor:ktor-auth-jwt:$ktorVersion")
implementation("io.ktor:ktor-serialization:$ktorVersion")
implementation("io.ktor:ktor-server-netty:$ktorVersion")
implementation("ch.qos.logback:logback-classic:$logbackVersion")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-serialization:$ktorVersion")
implementation("io.ktor:ktor-client-cio:$ktorVersion")
// Koin for Kotlin
implementation("io.insert-koin:koin-ktor:$koinVersion")
implementation("io.insert-koin:koin-logger-slf4j:$koinVersion")
// Exposed
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
// Hikari
implementation("com.zaxxer:HikariCP:$hikariVersion")
// PostgreSQL
implementation("org.postgresql:postgresql:$postgresVersion")
// Password encryption
implementation("org.mindrot:jbcrypt:$bcryptVersion")
// For sending reset-password-mail
implementation("org.apache.commons:commons-email:$commonsEmailVersion")
// Firebase admin
implementation ("com.google.firebase:firebase-admin:$firebaseAdminVersion")
}