-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
46 lines (38 loc) · 1.01 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
plugins {
kotlin("jvm") version "1.8.22"
id("com.google.devtools.ksp") version "1.8.22-1.0.11"
}
version = "1.0-SNAPSHOT"
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-rx3:1.7.3")
implementation("com.google.devtools.ksp:symbol-processing-api:1.8.22-1.0.11")
implementation("com.squareup:kotlinpoet:1.14.2")
implementation("com.squareup:kotlinpoet-ksp:1.14.2")
implementation(kotlin("reflect"))
testImplementation(kotlin("test"))
}
kotlin {
sourceSets.main {
kotlin.srcDir("src/main/kotlin")
}
sourceSets.test {
kotlin.srcDir("src/test/kotlin")
}
resources.text
}
repositories {
mavenCentral()
}
java {
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
}
}
tasks.test {
useJUnitPlatform()
}