-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
78 lines (67 loc) · 2.49 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
78
plugins {
id("org.jetbrains.kotlin.jvm") version "1.6.0"
id("org.jetbrains.kotlin.kapt") version "1.6.0"
id("org.jetbrains.kotlin.plugin.allopen") version "1.6.0"
id("com.github.johnrengelman.shadow") version "7.1.0"
id("io.micronaut.application") version "3.0.2"
}
version = "0.1"
group = "com.jaga.blockchain"
val kotlinVersion = project.properties.get("kotlinVersion")
repositories {
mavenCentral()
}
micronaut {
runtime("netty")
testRuntime("kotest")
processing {
incremental(true)
annotations("com.jaga.blockchain.*")
}
}
dependencies {
kapt("io.micronaut:micronaut-http-validation")
kapt("io.micronaut.data:micronaut-data-processor")
kapt("io.micronaut.openapi:micronaut-openapi")
implementation("io.micronaut:micronaut-http-client")
implementation("io.micronaut:micronaut-management")
implementation("io.micronaut:micronaut-runtime")
implementation("io.micronaut.data:micronaut-data-r2dbc")
implementation("io.micronaut.kotlin:micronaut-kotlin-extension-functions")
implementation("io.micronaut.kotlin:micronaut-kotlin-runtime")
implementation("io.micronaut.mqtt:micronaut-mqttv5")
implementation("io.micronaut.rxjava3:micronaut-rxjava3")
implementation("io.micronaut.rxjava3:micronaut-rxjava3-http-client")
implementation("io.swagger.core.v3:swagger-annotations")
implementation("jakarta.annotation:jakarta.annotation-api")
implementation("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}")
implementation("io.github.microutils:kotlin-logging:2.1.21")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
implementation("io.projectreactor:reactor-tools:3.4.13")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0")
runtimeOnly("ch.qos.logback:logback-classic")
runtimeOnly("io.r2dbc:r2dbc-postgresql")
testImplementation("org.testcontainers:r2dbc")
// testImplementation("org.testcontainers:testcontainers")
implementation("io.micronaut:micronaut-validation")
runtimeOnly("com.fasterxml.jackson.module:jackson-module-kotlin")
}
application {
mainClass.set("com.jaga.blockchain.ApplicationKt")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
}