-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (57 loc) · 1.85 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
buildscript {
ext.kotlin_version = '1.6.0'
ext.ktor_version = '2.2.1'
ext.kmongo_version = '4.8.0'
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.6.0'
id 'java-library'
}
group 'com.dariopellegrini'
version '0.30.3'
repositories {
jcenter()
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
// Ktor
api "io.ktor:ktor-server-netty:$ktor_version"
api "io.ktor:ktor-server-auth:$ktor_version"
api "io.ktor:ktor-server-websockets:$ktor_version"
api "io.ktor:ktor-server-default-headers:$ktor_version"
api "io.ktor:ktor-server-cors:$ktor_version"
api "io.ktor:ktor-server-forwarded-header:$ktor_version"
api "io.ktor:ktor-server-call-logging:$ktor_version"
api "io.ktor:ktor-server-auth-jwt:$ktor_version"
api "io.ktor:ktor-server-double-receive:$ktor_version"
// Kotlin reflection
api "org.jetbrains.kotlin:kotlin-reflect"
// Jackson
api "io.ktor:ktor-server-content-negotiation:$ktor_version"
api "io.ktor:ktor-serialization-jackson:$ktor_version"
// KotlinX Coroutines
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
// MongoDB
api "org.litote.kmongo:kmongo:$kmongo_version"
api "org.litote.kmongo:kmongo-coroutine:$kmongo_version"
// AWS SDK
api 'com.amazonaws:aws-java-sdk-s3:1.12.376'
// JWT and RSA
api 'com.auth0:java-jwt:3.8.3'
api 'com.auth0:jwks-rsa:0.9.0'
// Google SDK
api 'com.google.api-client:google-api-client:1.30.5'
api 'com.google.oauth-client:google-oauth-client:1.33.3'
// Logs
api 'org.slf4j:slf4j-api:2.0.3'
api 'org.slf4j:slf4j-simple:2.0.3'
// Client E-mail
implementation "org.simplejavamail:simple-java-mail:6.0.0-rc2"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}