examples-spring-redis-amq
/
build.gradle.kts
37 строк · 1.2 Кб
1import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3plugins {
4id("org.springframework.boot") version "2.1.5.RELEASE"
5id("io.spring.dependency-management") version "1.0.7.RELEASE"
6kotlin("jvm") version "1.2.71"
7kotlin("plugin.spring") version "1.2.71"
8}
9
10group = "com.tasks"
11version = "0.0.1-SNAPSHOT"
12java.sourceCompatibility = JavaVersion.VERSION_1_8
13
14repositories {
15mavenCentral()
16}
17
18dependencies {
19implementation("org.springframework.boot:spring-boot-starter-activemq")
20implementation("org.springframework.boot:spring-boot-starter-actuator")
21implementation("org.springframework.boot:spring-boot-starter-webflux")
22//implementation("org.springframework.boot:spring-boot-starter-web")
23implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
24implementation("org.jetbrains.kotlin:kotlin-reflect")
25implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
26implementation("redis.clients:jedis:3.1.0-m3")
27implementation ("org.redisson:redisson:3.11.0")
28testImplementation("org.springframework.boot:spring-boot-starter-test")
29testImplementation("io.projectreactor:reactor-test")
30}
31
32tasks.withType<KotlinCompile> {
33kotlinOptions {
34freeCompilerArgs = listOf("-Xjsr305=strict")
35jvmTarget = "1.8"
36}
37}
38