-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
33 lines (27 loc) · 810 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
33 lines (27 loc) · 810 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
plugins {
kotlin("jvm") version "1.7.20"
id("com.google.devtools.ksp") version "1.7.20-1.0.8"
idea
}
buildscript {
dependencies {
classpath(kotlin("gradle-plugin", version = "1.7.20"))
}
}
ksp {
arg("ignoreGenericArgs", "false")
}
idea {
module {
// Not using += due to https://github.com/gradle/gradle/issues/8749
sourceDirs = sourceDirs + file("build/generated/ksp/main/kotlin") // or tasks["kspKotlin"].destination
testSourceDirs = testSourceDirs + file("build/generated/ksp/test/kotlin")
generatedSourceDirs =
generatedSourceDirs + file("build/generated/ksp/main/kotlin") + file("build/generated/ksp/test/kotlin")
}
}
kotlin
dependencies {
implementation(project(":annotation"))
ksp(project(":processor"))
}