-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
47 lines (36 loc) · 931 Bytes
/
build.gradle.kts
File metadata and controls
47 lines (36 loc) · 931 Bytes
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.0"
id("com.google.devtools.ksp") version "1.8.0-1.0.8"
}
group = "io.kava.template"
version = "1.0.0"
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.merlinths:kava-core:1.0.0")
implementation("io.github.merlinths:kava-annotations:1.0.3")
add("ksp", "io.github.merlinths:kava-processor:1.0.1")
add("kspTest", "io.github.merlinths:kava-processor:1.0.1")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
sourceSets {
main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
}
test {
kotlin.srcDir("build/generated/ksp/test/kotlin")
}
}
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xcontext-receivers")
}
}