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