mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-23 04:34:03 +02:00
Rename KSP options
This commit is contained in:
parent
77cef909fb
commit
f143b6ee9f
@ -13,7 +13,7 @@ import java.io.File
|
|||||||
|
|
||||||
class FileWriter {
|
class FileWriter {
|
||||||
fun generateResourceFile(fileName: String, content: String, environment: SymbolProcessorEnvironment) {
|
fun generateResourceFile(fileName: String, content: String, environment: SymbolProcessorEnvironment) {
|
||||||
val resourcesDir = environment.options["resourcesDir"]
|
val resourcesDir = environment.options["generated_directory"]
|
||||||
val file = File("$resourcesDir/$fileName")
|
val file = File("$resourcesDir/$fileName")
|
||||||
file.writeText(content)
|
file.writeText(content)
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,8 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ksp {
|
ksp {
|
||||||
arg("resourcesDir", "$projectDir/src/main/resources")
|
arg("generated_directory", "$projectDir/src/main/resources")
|
||||||
|
arg("vimscript_functions_file", "intellij_vimscript_functions.yaml")
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
|
@ -21,7 +21,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ksp {
|
ksp {
|
||||||
arg("resourcesDir", "$projectDir/src/main/resources")
|
arg("generated_directory", "$projectDir/src/main/resources")
|
||||||
|
arg("vimscript_functions_file", "engine_vimscript_functions.yaml")
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
Reference in New Issue
Block a user