-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
77 lines (60 loc) · 2.19 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
70
71
72
73
74
75
76
77
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.2.6.RELEASE"
id("io.spring.dependency-management") version "1.0.9.RELEASE"
kotlin("jvm") version "1.3.71"
kotlin("plugin.spring") version "1.3.71"
kotlin("plugin.jpa") version "1.3.71"
kotlin("kapt") version "1.3.61"
}
group = "app.fior"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_11
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
dependencies {
// Web
implementation("org.springframework.boot:spring-boot-starter-webflux")
// Data
implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
// Security
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("io.jsonwebtoken:jjwt:0.9.1")
// Email
implementation("com.sendgrid:sendgrid-java:4.4.8")
// File storage
implementation("com.azure:azure-storage-blob:12.8.0-beta.1")
// Doc
val springDocVersion = "1.3.9"
implementation("org.springdoc:springdoc-openapi-webflux-ui:$springDocVersion")
implementation("org.springdoc:springdoc-openapi-kotlin:$springDocVersion")
kapt("org.springframework.boot:spring-boot-configuration-processor")
// Kotlin
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
// GoogleAuth
implementation("com.google.api-client:google-api-client:1.30.9")
// Tests
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
testImplementation("io.projectreactor:reactor-test")
testImplementation("de.flapdoodle.embed:de.flapdoodle.embed.mongo")
}
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "1.8"
}
}