-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle.kts
66 lines (49 loc) · 2.03 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.8.21"
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
kotlin("plugin.jpa") version kotlinVersion
id("org.springframework.boot") version "2.7.0"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
}
group = "com.github.djaler"
version = "1.0"
repositories {
mavenCentral()
}
configurations {
all {
exclude("org.springframework.boot", "spring-boot-starter-logging")
}
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-log4j2")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("org.springframework.boot:spring-boot-starter-data-redis")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
implementation("org.postgresql:postgresql")
implementation("org.flywaydb:flyway-core")
implementation("dev.inmo:tgbotapi:9.0.0")
implementation("io.ktor:ktor-server-netty:2.3.2")
implementation("io.ktor:ktor-client-apache:2.3.2")
implementation("io.ktor:ktor-client-content-negotiation:2.3.2")
implementation("io.ktor:ktor-client-logging:2.3.2")
implementation("io.ktor:ktor-serialization-jackson:2.3.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("io.sentry:sentry-spring-boot-starter:4.3.0")
implementation("org.unix4j:unix4j-command:0.6")
implementation("io.github.resilience4j:resilience4j-kotlin:1.7.1")
implementation("io.github.resilience4j:resilience4j-ratelimiter:1.7.1")
implementation("ws.schild:jave-all-deps:3.4.0")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.getByName<Jar>("jar") {
enabled = false
}